Build Information
Failed to build pkl-swift, reference 0.5.0 (e581b0
), with Swift 6.2 (beta) for Android on 28 Jul 2025 17:13:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.git
Reference: 0.5.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.5.0 -> FETCH_HEAD
HEAD is now at e581b00 Update xcode to 16.4.0 (#58)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
e581b0004eccebc55b5b347d5849b6c36022f9b2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at 0.5.0
========================================
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-1":/host -w "$PWD" 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/swiftlang/swift-docc-plugin
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/apple/swift-system
[1/2094] Fetching swift-docc-plugin
[232/2464] Fetching swift-docc-plugin, semanticversion
[602/7147] Fetching swift-docc-plugin, semanticversion, swift-system
[7148/57636] Fetching swift-docc-plugin, semanticversion, swift-system, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.82s)
Fetched https://github.com/apple/swift-system from cache (0.82s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.85s)
[505/50489] Fetching swiftformat
Fetching https://github.com/apple/swift-argument-parser
[50490/66068] Fetching swiftformat, swift-argument-parser
Fetched https://github.com/nicklockwood/SwiftFormat from cache (45.43s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.25s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (48.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3436] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.41s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.57.2 (0.51s)
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
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/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.1
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
[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
[7/29] Write embedded_resources.swift
[8/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-8C5A4AE7A8CE2BA.txt
[16/29] Compiling PklSwiftInternals Discovery.cpp
[18/66] Emitting module SemanticVersion
[19/66] Compiling SystemPackage FilePathSyntax.swift
[20/66] Compiling SystemPackage FilePathTemp.swift
[21/66] Compiling SystemPackage FilePathTempPosix.swift
[22/66] Compiling SystemPackage FilePathTempWindows.swift
[23/70] Compiling SemanticVersion SemanticVersion.swift
[24/70] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[25/70] Compiling SystemPackage FilePath.swift
[26/70] Compiling SystemPackage FilePathComponentView.swift
[27/70] Compiling SystemPackage FilePathComponents.swift
[28/70] Compiling SystemPackage FilePathParsing.swift
[29/70] Compiling SystemPackage FilePathString.swift
[30/70] Emitting module SystemPackage
[31/70] Compiling SystemPackage Errno.swift
[32/70] Compiling SystemPackage ErrnoWindows.swift
[33/70] Compiling SystemPackage FileDescriptor.swift
[34/70] Compiling SystemPackage FileHelpers.swift
[35/70] Compiling SystemPackage FileOperations.swift
[36/70] Compiling SystemPackage IORing.swift
[37/70] Compiling SystemPackage RawIORequest.swift
[38/70] Compiling SystemPackage Backcompat.swift
[39/70] Compiling SystemPackage CInterop.swift
[40/70] Emitting module ArgumentParserToolInfo
[41/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[42/71] Wrapping AST for ArgumentParserToolInfo for debugging
[44/115] Compiling ArgumentParser ExpressibleByArgument.swift
[45/115] Compiling ArgumentParser InputKey.swift
[46/115] Compiling ArgumentParser InputOrigin.swift
[47/115] Compiling ArgumentParser Name.swift
[48/115] Compiling ArgumentParser Parsed.swift
[49/115] Compiling ArgumentParser ParsedValues.swift
[50/115] Compiling ArgumentParser ParserError.swift
[51/115] Compiling ArgumentParser ParsableArguments.swift
[52/115] Compiling ArgumentParser ParsableCommand.swift
[53/115] Compiling ArgumentParser ArgumentDecoder.swift
[54/115] Compiling ArgumentParser ArgumentDefinition.swift
[55/115] Compiling ArgumentParser ArgumentSet.swift
[56/115] Compiling ArgumentParser CommandParser.swift
[57/115] Compiling ArgumentParser CollectionExtensions.swift
[58/115] Compiling ArgumentParser Mutex.swift
[59/115] Compiling ArgumentParser Platform.swift
[60/116] Wrapping AST for SystemPackage for debugging
[62/131] Compiling SemanticVersion SemanticVersion+Codable.swift
[63/132] Wrapping AST for SemanticVersion for debugging
[71/132] Compiling MessagePack FixedWidthInteger.swift
[72/132] Compiling ArgumentParser AsyncParsableCommand.swift
[73/132] Compiling ArgumentParser CommandConfiguration.swift
[74/132] Compiling ArgumentParser CommandGroup.swift
[75/132] Compiling ArgumentParser EnumerableFlag.swift
[77/138] Emitting module ArgumentParser
[81/138] Compiling ArgumentParser SequenceExtensions.swift
[82/138] Compiling ArgumentParser StringExtensions.swift
[83/138] Compiling ArgumentParser SwiftExtensions.swift
[84/138] Emitting module MessagePack
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:95:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
93 | }
94 |
95 | func decode(_: Date.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Date.Type) throws -> Date'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
96 | switch value {
97 | case .timestamp(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:104:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
102 | }
103 |
104 | func decode(_: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
105 | switch value {
106 | case .bin(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:222:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
220 | }
221 |
222 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
223 | try checkCanEncode(value: value)
224 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:249:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
247 | }
248 |
249 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
250 | let length = value.count
251 | if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[85/139] Compiling MessagePack MessagePackEncoder.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:222:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
220 | }
221 |
222 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
223 | try checkCanEncode(value: value)
224 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:249:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
247 | }
248 |
249 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
250 | let length = value.count
251 | if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
/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 {
[86/139] Compiling MessagePack SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:222:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
220 | }
221 |
222 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
223 | try checkCanEncode(value: value)
224 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:249:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
247 | }
248 |
249 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
250 | let length = value.count
251 | if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
/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 {
[87/139] Compiling MessagePack UnkeyedEncodingContainer.swift
[89/139] Compiling MessagePack IO.swift
[90/139] Compiling MessagePack UnkeyedDecodingContainer.swift
[91/139] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[92/139] Compiling MessagePack _MessagePackDecoder.swift
[93/139] Compiling MessagePack KeyedEncodingContainer.swift
[94/139] 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/SingleValueDecodingContainer.swift:95:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
93 | }
94 |
95 | func decode(_: Date.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Date.Type) throws -> Date'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
96 | switch value {
97 | case .timestamp(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:104:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
102 | }
103 |
104 | func decode(_: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
105 | switch value {
106 | case .bin(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
[95/139] Compiling MessagePack SingleValueDecodingContainer.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/SingleValueDecodingContainer.swift:95:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
93 | }
94 |
95 | func decode(_: Date.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Date.Type) throws -> Date'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
96 | switch value {
97 | case .timestamp(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:104:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
102 | }
103 |
104 | func decode(_: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
105 | switch value {
106 | case .bin(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
[96/139] Compiling MessagePack AnyCodingKey.swift
[97/139] Compiling MessagePack Box.swift
[98/139] Compiling MessagePack KeyedDecodingContainer.swift
[99/139] Compiling MessagePack KeyedSingleDecodingContainer.swift
BUILD FAILURE 6.2 android