Build Information
Failed to build pkl-swift, reference 0.5.0 (e581b0
), with Swift 6.1 for Android on 28 Jul 2025 17:11:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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.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
{
"cxx_language_standard" : "c++20",
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "semanticversion",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftPackageIndex/SemanticVersion"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "pkl-swift",
"name" : "pkl-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MessagePack",
"targets" : [
"MessagePack"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PklSwift",
"targets" : [
"PklSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "pkl-gen-swift",
"targets" : [
"pkl-gen-swift"
],
"type" : {
"executable" : null
}
},
{
"name" : "test-external-reader",
"targets" : [
"test-external-reader"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "test_external_reader",
"module_type" : "SwiftTarget",
"name" : "test-external-reader",
"path" : "Sources/test-external-reader",
"product_memberships" : [
"test-external-reader"
],
"sources" : [
"TestExternalReader.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "pkl_gen_swift",
"module_type" : "SwiftTarget",
"name" : "pkl-gen-swift",
"path" : "Sources/pkl-gen-swift",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"pkl-gen-swift"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/pkl-gen-swift/Resources/VERSION.txt",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"Generated/GeneratorSettings.pkl.swift",
"PklGenSwift.swift",
"PklSwiftGenerator.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "PklSwiftTests",
"module_type" : "SwiftTarget",
"name" : "PklSwiftTests",
"path" : "Tests/PklSwiftTests",
"sources" : [
"API/DataSizeTests.swift",
"API/DurationTests.swift",
"Decoder/PklDecoderTest.swift",
"EvaluatorManagerTest.swift",
"EvaluatorTest.swift",
"ExternalReaderClientTest.swift",
"Fixtures/Generated/AnyType.pkl.swift",
"Fixtures/Generated/ApiTypes.pkl.swift",
"Fixtures/Generated/Classes.pkl.swift",
"Fixtures/Generated/Collections.pkl.swift",
"Fixtures/Generated/Collections2.pkl.swift",
"Fixtures/Generated/ExtendedModule.pkl.swift",
"Fixtures/Generated/OpenModule.pkl.swift",
"Fixtures/Generated/UnionTypes.pkl.swift",
"Fixtures/Generated/pkl_swift_example_Poly.pkl.swift",
"Fixtures/Generated/pkl_swift_lib1.pkl.swift",
"FixturesTest.swift",
"ProjectTest.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "test"
},
{
"c99name" : "PklSwiftInternals",
"module_type" : "ClangTarget",
"name" : "PklSwiftInternals",
"path" : "Sources/PklSwiftInternals",
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"Discovery.cpp"
],
"type" : "library"
},
{
"c99name" : "PklSwift",
"module_type" : "SwiftTarget",
"name" : "PklSwift",
"path" : "Sources/PklSwift",
"product_dependencies" : [
"SemanticVersion"
],
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"API/DataSize.swift",
"API/Duration.swift",
"Decoder/PklDecoder.swift",
"Decoder/PklMapDecodingContainer.swift",
"Decoder/PklSingleValueDecodingContainer.swift",
"Decoder/PklTypedDecodingContainer.swift",
"Decoder/PklUnkeyedDecodingContainer.swift",
"Evaluator.swift",
"EvaluatorManager.swift",
"EvaluatorOptions.swift",
"ExternalReaderClient.swift",
"Logger.swift",
"Message.swift",
"MessageTransport.swift",
"ModuleSource.swift",
"PklCodingKey.swift",
"PklEvaluatorSettings.swift",
"Project.swift",
"Reader.swift",
"TypeRegistry.swift",
"Utils.swift",
"locks.swift"
],
"target_dependencies" : [
"MessagePack",
"PklSwiftInternals"
],
"type" : "library"
},
{
"c99name" : "MessagePackTests",
"module_type" : "SwiftTarget",
"name" : "MessagePackTests",
"path" : "Tests/MessagePackTests",
"sources" : [
"MessagePackDecodingTests.swift",
"MessagePackEncodingTests.swift"
],
"target_dependencies" : [
"MessagePack"
],
"type" : "test"
},
{
"c99name" : "MessagePack",
"module_type" : "SwiftTarget",
"name" : "MessagePack",
"path" : "Sources/MessagePack",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"MessagePack",
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"AnyCodingKey.swift",
"Box.swift",
"Decoder/KeyedDecodingContainer.swift",
"Decoder/KeyedSingleDecodingContainer.swift",
"Decoder/MessagePackDecoder.swift",
"Decoder/SingleValueDecodingContainer.swift",
"Decoder/UnkeyedDecodingContainer.swift",
"Decoder/UnkeyedMapDecodingContainer.swift",
"Decoder/_MessagePackDecoder.swift",
"Encoder/KeyedEncodingContainer.swift",
"Encoder/MessagePackEncoder.swift",
"Encoder/SingleValueEncodingContainer.swift",
"Encoder/UnkeyedEncodingContainer.swift",
"FixedWidthInteger.swift",
"IO.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
[1/2094] Fetching swift-docc-plugin
[232/2464] Fetching swift-docc-plugin, semanticversion
[707/7147] Fetching swift-docc-plugin, semanticversion, swift-system
[7148/22726] Fetching swift-docc-plugin, semanticversion, swift-system, swift-argument-parser
[7616/73215] Fetching swift-docc-plugin, semanticversion, swift-system, swift-argument-parser, swiftformat
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.91s)
[8164/71121] Fetching semanticversion, swift-system, swift-argument-parser, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (1.75s)
Fetched https://github.com/apple/swift-system from cache (1.76s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.77s)
[4545/50489] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (40.96s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (45.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.18s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (1.18s)
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.78s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.81s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.84s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.57.2 (0.99s)
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.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/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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.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
[5/29] Write embedded_resources.swift
[5/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling PklSwiftInternals Discovery.cpp
[18/66] Emitting module SystemPackage
[19/70] Emitting module ArgumentParserToolInfo
[20/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/71] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[23/71] Compiling SemanticVersion SemanticVersion.swift
[24/71] Compiling SystemPackage SystemString.swift
[25/71] Compiling SystemPackage Util+StringArray.swift
[26/71] Compiling SystemPackage Util.swift
[27/71] Compiling SystemPackage UtilConsumers.swift
[28/71] Compiling SystemPackage Errno.swift
[29/71] Compiling SystemPackage ErrnoWindows.swift
[30/71] Compiling SystemPackage FileDescriptor.swift
[31/71] Compiling SystemPackage FileHelpers.swift
[32/71] Compiling SystemPackage FileOperations.swift
[33/71] Compiling SystemPackage FilePathSyntax.swift
[34/71] Compiling SystemPackage FilePathTemp.swift
[35/71] Compiling SystemPackage FilePathTempPosix.swift
[36/71] Compiling SystemPackage FilePathTempWindows.swift
[37/71] Compiling SystemPackage FilePath.swift
[38/71] Compiling SystemPackage FilePathComponentView.swift
[39/71] Compiling SystemPackage FilePathComponents.swift
[40/71] Compiling SystemPackage FilePathParsing.swift
[41/71] Compiling SystemPackage FilePathString.swift
[41/71] Wrapping AST for ArgumentParserToolInfo for debugging
[43/115] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/115] Compiling ArgumentParser CompletionsGenerator.swift
[45/115] Compiling ArgumentParser FishCompletionsGenerator.swift
[46/115] Compiling ArgumentParser ZshCompletionsGenerator.swift
[47/115] Compiling ArgumentParser Argument.swift
[48/115] Compiling ArgumentParser ArgumentDiscussion.swift
[49/115] Compiling ArgumentParser ArgumentHelp.swift
[50/115] Compiling ArgumentParser ArgumentVisibility.swift
[51/115] Compiling ArgumentParser CompletionKind.swift
[52/115] Compiling ArgumentParser Errors.swift
[53/115] Compiling ArgumentParser Flag.swift
[54/115] Compiling ArgumentParser NameSpecification.swift
[55/115] Compiling ArgumentParser Option.swift
[56/115] Emitting module ArgumentParser
[57/121] Compiling ArgumentParser InputOrigin.swift
[58/121] Compiling ArgumentParser Name.swift
[59/121] Compiling ArgumentParser Parsed.swift
[60/121] Compiling ArgumentParser ParsedValues.swift
[61/121] Compiling ArgumentParser ArgumentDefinition.swift
[62/121] Compiling ArgumentParser ArgumentSet.swift
[63/121] Compiling ArgumentParser CommandParser.swift
[64/121] Compiling ArgumentParser InputKey.swift
[65/121] Compiling ArgumentParser ExpressibleByArgument.swift
[66/121] Compiling ArgumentParser ParsableArguments.swift
[67/121] Compiling ArgumentParser ParsableCommand.swift
[68/121] Compiling ArgumentParser ArgumentDecoder.swift
[69/121] Compiling ArgumentParser AsyncParsableCommand.swift
[70/121] Compiling ArgumentParser CommandConfiguration.swift
[71/121] Compiling ArgumentParser CommandGroup.swift
[72/121] Compiling ArgumentParser EnumerableFlag.swift
[74/122] Compiling SemanticVersion SemanticVersion+Codable.swift
[75/122] Emitting module SemanticVersion
[76/123] Compiling ArgumentParser Tree.swift
[77/123] Compiling ArgumentParser CodingKeyValidator.swift
[78/123] Compiling ArgumentParser NonsenseFlagsValidator.swift
[79/123] Compiling ArgumentParser ParsableArgumentsValidation.swift
[80/123] Compiling ArgumentParser PositionalArgumentsValidator.swift
[81/123] Compiling ArgumentParser UniqueNamesValidator.swift
[82/138] Wrapping AST for SystemPackage for debugging
[84/138] Compiling ArgumentParser CollectionExtensions.swift
[85/138] Compiling ArgumentParser Mutex.swift
[86/138] Compiling ArgumentParser Platform.swift
[87/138] Compiling ArgumentParser SequenceExtensions.swift
[88/138] Compiling ArgumentParser StringExtensions.swift
[89/138] Compiling ArgumentParser SwiftExtensions.swift
[95/138] Compiling ArgumentParser ParserError.swift
[96/138] Compiling ArgumentParser SplitArguments.swift
[97/138] Compiling ArgumentParser DumpHelpGenerator.swift
[98/138] Compiling ArgumentParser HelpCommand.swift
[99/138] Compiling ArgumentParser HelpGenerator.swift
[100/138] Compiling ArgumentParser MessageInfo.swift
[101/138] Compiling ArgumentParser UsageGenerator.swift
[102/138] Compiling MessagePack FixedWidthInteger.swift
[114/138] 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 |
[115/138] 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 |
[117/140] Compiling MessagePack UnkeyedEncodingContainer.swift
[119/140] Compiling MessagePack IO.swift
[120/140] Compiling MessagePack _MessagePackDecoder.swift
[121/140] Compiling MessagePack KeyedEncodingContainer.swift
[122/140] Compiling MessagePack UnkeyedDecodingContainer.swift
[123/140] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[124/140] 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 {
[125/140] 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 {
[125/140] Wrapping AST for SemanticVersion for debugging
[127/140] Emitting module MessagePack
/host/spi-builder-workspace/Sources/MessagePack/Decoder/KeyedDecodingContainer.swift:19:1: warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | extension MessagePackValue: CodingKey {
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
20 | public var stringValue: String {
21 | switch self {
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
/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 |
[128/140] Compiling MessagePack KeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Decoder/KeyedDecodingContainer.swift:19:1: warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | extension MessagePackValue: CodingKey {
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
20 | public var stringValue: String {
21 | switch self {
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
[129/140] Compiling MessagePack KeyedSingleDecodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Decoder/KeyedDecodingContainer.swift:19:1: warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | extension MessagePackValue: CodingKey {
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
20 | public var stringValue: String {
21 | switch self {
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
[130/140] Compiling MessagePack AnyCodingKey.swift
[131/140] Compiling MessagePack Box.swift
[131/140] Wrapping AST for ArgumentParser for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/PklSwiftTests/Fixtures/Collections2.pkl
[0/1] Planning build
[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/18] Write swift-version-24593BA9C3E375BF.txt
[7/55] Compiling SemanticVersion SemanticVersion.swift
[8/55] Compiling SystemPackage Syscalls.swift
[9/55] Compiling SystemPackage WindowsSyscallAdapters.swift
[10/55] Compiling SystemPackage MachPort.swift
[11/55] Compiling SystemPackage PlatformString.swift
[12/59] Compiling SemanticVersion SemanticVersion+Codable.swift
[13/59] Emitting module SemanticVersion
[14/59] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[16/59] Compiling SystemPackage FilePathSyntax.swift
[17/59] Compiling SystemPackage FilePathTemp.swift
[18/59] Compiling SystemPackage FilePathTempPosix.swift
[19/59] Compiling SystemPackage FilePathTempWindows.swift
[20/59] Compiling SystemPackage FilePathWindows.swift
[21/59] Compiling SystemPackage FilePermissions.swift
[22/59] Compiling SystemPackage IOCompletion.swift
[23/59] Compiling SystemPackage IORequest.swift
[24/59] Compiling SystemPackage IORing.swift
[25/59] Compiling SystemPackage RawIORequest.swift
[26/59] Compiling SystemPackage Backcompat.swift
[27/59] Compiling SystemPackage CInterop.swift
[28/59] Compiling SystemPackage Constants.swift
[29/59] Compiling SystemPackage Exports.swift
[30/59] Compiling SystemPackage Mocking.swift
[31/59] Compiling SystemPackage RawBuffer.swift
[32/59] Emitting module SystemPackage
[33/59] Compiling SystemPackage Errno.swift
[34/59] Compiling SystemPackage ErrnoWindows.swift
[35/59] Compiling SystemPackage FileDescriptor.swift
[36/59] Compiling SystemPackage FileHelpers.swift
[37/59] Compiling SystemPackage FileOperations.swift
[38/59] Emitting module ArgumentParserToolInfo
[39/59] Compiling ArgumentParserToolInfo ToolInfo.swift
[41/73] Compiling ArgumentParser ArgumentDiscussion.swift
[42/73] Compiling ArgumentParser ArgumentHelp.swift
[43/73] Compiling ArgumentParser ParsableArguments.swift
[44/73] Compiling ArgumentParser ParsableCommand.swift
[45/73] Compiling ArgumentParser ArgumentDecoder.swift
[46/103] Compiling ArgumentParser ParserError.swift
[47/103] Compiling ArgumentParser CollectionExtensions.swift
[48/103] Compiling ArgumentParser Mutex.swift
[49/103] Compiling ArgumentParser Platform.swift
[54/104] Compiling ArgumentParser SequenceExtensions.swift
[55/104] Compiling ArgumentParser StringExtensions.swift
[56/104] Compiling ArgumentParser SwiftExtensions.swift
[56/110] Wrapping AST for SystemPackage for debugging
[58/125] Compiling MessagePack UnkeyedDecodingContainer.swift
[59/125] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[60/126] Compiling MessagePack UnkeyedEncodingContainer.swift
[61/126] Compiling MessagePack FixedWidthInteger.swift
[62/126] Compiling MessagePack AnyCodingKey.swift
[63/126] Compiling MessagePack Box.swift
[64/126] Compiling MessagePack KeyedDecodingContainer.swift
[65/126] Compiling MessagePack KeyedSingleDecodingContainer.swift
[66/126] 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 |
[67/126] Compiling MessagePack IO.swift
[68/126] Compiling ArgumentParser Tree.swift
[69/126] Compiling ArgumentParser CodingKeyValidator.swift
[70/126] Compiling ArgumentParser NonsenseFlagsValidator.swift
[71/126] Compiling ArgumentParser ParsableArgumentsValidation.swift
[72/126] Compiling ArgumentParser PositionalArgumentsValidator.swift
[73/126] Compiling ArgumentParser UniqueNamesValidator.swift
[74/126] 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 |
[75/126] 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 |
[76/126] Compiling MessagePack _MessagePackDecoder.swift
[77/126] Compiling MessagePack KeyedEncodingContainer.swift
[78/126] 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 {
[79/126] 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/126] Emitting module ArgumentParser
[88/126] Compiling ArgumentParser ArgumentVisibility.swift
[89/126] Compiling ArgumentParser CompletionKind.swift
[90/126] Compiling ArgumentParser Errors.swift
[91/126] Compiling ArgumentParser Flag.swift
[92/126] Compiling ArgumentParser NameSpecification.swift
[93/126] Compiling ArgumentParser Option.swift
BUILD FAILURE 6.1 android