Build Information
Failed to build pkl-swift, reference main (54c491
), with Swift 6.1 for Android on 30 May 2025 19:27:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.63.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 54c491e Bump minimum Swift version to 5.10 (#53)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
54c491ecfae5a761755ebf86162c3cf6e25f8ce7
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
{
"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/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-4606859-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/nicklockwood/SwiftFormat
[1/323] Fetching semanticversion
[292/2372] Fetching semanticversion, swift-docc-plugin
[2373/17758] Fetching semanticversion, swift-docc-plugin, swift-argument-parser
[17759/65966] Fetching semanticversion, swift-docc-plugin, swift-argument-parser, swiftformat
Fetching https://github.com/apple/swift-system
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.06s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.07s)
[3698/48531] Fetching semanticversion, swiftformat
[4663/52922] Fetching semanticversion, swiftformat, swift-system
Fetched https://github.com/apple/swift-system from cache (0.51s)
[5092/48531] Fetching semanticversion, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (27.47s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (28.34s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.4.0 (35.32s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.28s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.42s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (0.67s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.4.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.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/29] Write sources
[4/29] Write embedded_resources.swift
[4/29] Write sources
[4/29] Copying Documentation.docc
[4/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[17/64] Emitting module ArgumentParserToolInfo
[17/64] Compiling PklSwiftInternals Discovery.cpp
[19/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/65] Compiling SystemPackage Errno.swift
[22/65] Compiling SystemPackage ErrnoWindows.swift
[23/65] Compiling SystemPackage FileDescriptor.swift
[24/65] Compiling SystemPackage FileHelpers.swift
[25/65] Emitting module SystemPackage
[26/65] Compiling SystemPackage MachPort.swift
[27/65] Compiling SystemPackage PlatformString.swift
[28/65] Compiling SystemPackage SystemString.swift
[29/65] Compiling SystemPackage FilePathTempPosix.swift
[30/65] Compiling SystemPackage FilePathTempWindows.swift
[31/65] Compiling SystemPackage FilePathWindows.swift
[32/65] Compiling SystemPackage FilePermissions.swift
[32/68] Wrapping AST for ArgumentParserToolInfo for debugging
[34/68] Compiling SystemPackage FilePathParsing.swift
[35/68] Compiling SystemPackage FilePathString.swift
[36/68] Compiling SystemPackage FilePathSyntax.swift
[37/68] Compiling SystemPackage FilePathTemp.swift
[38/68] Compiling SystemPackage FileOperations.swift
[39/68] Compiling SystemPackage FilePath.swift
[40/68] Compiling SystemPackage FilePathComponentView.swift
[41/68] Compiling SystemPackage FilePathComponents.swift
[42/106] Compiling ArgumentParser Name.swift
[43/106] Compiling ArgumentParser Parsed.swift
[44/106] Compiling ArgumentParser ParsedValues.swift
[45/106] Emitting module ArgumentParser
[49/111] Compiling ArgumentParser ParserError.swift
[50/111] Compiling ArgumentParser SplitArguments.swift
[51/111] Compiling ArgumentParser OptionGroup.swift
[52/111] Compiling ArgumentParser AsyncParsableCommand.swift
[53/111] Compiling ArgumentParser CommandConfiguration.swift
[54/111] Compiling ArgumentParser CommandGroup.swift
[55/111] Compiling ArgumentParser EnumerableFlag.swift
[56/111] Compiling ArgumentParser ArgumentDecoder.swift
[57/111] Compiling ArgumentParser BashCompletionsGenerator.swift
[58/111] Compiling ArgumentParser CompletionsGenerator.swift
[59/111] Compiling ArgumentParser FishCompletionsGenerator.swift
[60/111] Compiling ArgumentParser ExpressibleByArgument.swift
[61/111] Compiling ArgumentParser ParsableArguments.swift
[62/111] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/111] Compiling ArgumentParser ParsableCommand.swift
[65/112] Compiling ArgumentParser ArgumentVisibility.swift
[66/112] Compiling ArgumentParser CompletionKind.swift
[67/112] Compiling ArgumentParser Errors.swift
[68/112] Compiling ArgumentParser Flag.swift
[69/112] Compiling ArgumentParser NameSpecification.swift
[70/112] Compiling ArgumentParser Option.swift
[71/112] Compiling ArgumentParser CollectionExtensions.swift
[72/112] Compiling ArgumentParser Platform.swift
[73/112] Compiling ArgumentParser SequenceExtensions.swift
[74/112] Compiling ArgumentParser StringExtensions.swift
[75/112] Compiling ArgumentParser Tree.swift
[75/127] Wrapping AST for SystemPackage for debugging
[77/127] Compiling SemanticVersion NSRegularExpression+ext.swift
[78/127] Emitting module SemanticVersion
[79/127] Compiling SemanticVersion SemanticVersion+Codable.swift
[80/127] Compiling SemanticVersion SemanticVersion.swift
[81/127] Compiling SemanticVersion resource_bundle_accessor.swift
[82/128] Compiling ArgumentParser DumpHelpGenerator.swift
[83/128] Compiling ArgumentParser HelpCommand.swift
[84/128] Compiling ArgumentParser HelpGenerator.swift
[85/128] Compiling ArgumentParser MessageInfo.swift
[86/128] Compiling ArgumentParser UsageGenerator.swift
[96/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[97/128] Compiling ArgumentParser Argument.swift
[98/128] Compiling ArgumentParser ArgumentHelp.swift
[99/128] Compiling MessagePack SingleValueEncodingContainer.swift
[100/128] Compiling MessagePack UnkeyedEncodingContainer.swift
[101/128] Compiling MessagePack FixedWidthInteger.swift
[102/128] Compiling ArgumentParser InputKey.swift
[103/128] Compiling ArgumentParser InputOrigin.swift
[103/129] Wrapping AST for SemanticVersion for debugging
[106/129] Compiling MessagePack UnkeyedDecodingContainer.swift
[107/129] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[108/129] 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 |
[109/130] 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 |
[110/130] 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 |
[112/130] Wrapping AST for ArgumentParser for debugging
[114/130] Compiling MessagePack _MessagePackDecoder.swift
[115/130] Compiling MessagePack KeyedEncodingContainer.swift
[116/130] 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 {
/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 {
[118/130] Compiling MessagePack IO.swift
[119/130] 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
[120/130] 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
[121/130] Compiling MessagePack AnyCodingKey.swift
[122/130] Compiling MessagePack Box.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/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
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/17] Write swift-version-24593BA9C3E375BF.txt
[6/52] Emitting module ArgumentParserToolInfo
[7/52] Compiling SemanticVersion resource_bundle_accessor.swift
[8/52] Compiling SemanticVersion NSRegularExpression+ext.swift
[9/52] Emitting module SemanticVersion
[10/52] Compiling SemanticVersion SemanticVersion+Codable.swift
[11/52] Compiling SemanticVersion SemanticVersion.swift
[12/53] Compiling SystemPackage Backcompat.swift
[13/53] Compiling SystemPackage CInterop.swift
[14/53] Compiling SystemPackage Constants.swift
[15/53] Compiling SystemPackage Exports.swift
[17/55] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/56] Emitting module SystemPackage
[19/56] Compiling SystemPackage MachPort.swift
[20/56] Compiling SystemPackage PlatformString.swift
[21/56] Compiling SystemPackage SystemString.swift
[22/56] Compiling SystemPackage Mocking.swift
[23/56] Compiling SystemPackage RawBuffer.swift
[24/56] Compiling SystemPackage Syscalls.swift
[25/56] Compiling SystemPackage WindowsSyscallAdapters.swift
[27/56] Compiling SystemPackage Util+StringArray.swift
[28/56] Compiling SystemPackage Util.swift
[29/56] Compiling SystemPackage UtilConsumers.swift
[30/55] Compiling SystemPackage FilePathParsing.swift
[31/55] Compiling SystemPackage FilePathString.swift
[32/55] Compiling SystemPackage FilePathSyntax.swift
[33/55] Compiling SystemPackage FilePathTemp.swift
[34/56] Compiling SystemPackage Errno.swift
[35/56] Compiling SystemPackage ErrnoWindows.swift
[36/56] Compiling SystemPackage FileDescriptor.swift
[37/56] Compiling SystemPackage FileHelpers.swift
[38/59] Compiling SystemPackage FilePathTempPosix.swift
[39/59] Compiling SystemPackage FilePathTempWindows.swift
[40/60] Compiling SystemPackage FilePathWindows.swift
[41/60] Compiling SystemPackage FilePermissions.swift
[42/60] Compiling SystemPackage FileOperations.swift
[43/60] Compiling SystemPackage FilePath.swift
[44/60] Compiling SystemPackage FilePathComponentView.swift
[45/60] Compiling SystemPackage FilePathComponents.swift
[46/94] Wrapping AST for SystemPackage for debugging
[48/109] 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 |
[49/110] Compiling MessagePack UnkeyedEncodingContainer.swift
[50/110] Compiling MessagePack FixedWidthInteger.swift
[51/110] 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 |
[52/110] 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 |
[53/110] Compiling MessagePack AnyCodingKey.swift
[54/110] Compiling MessagePack Box.swift
[55/110] Compiling MessagePack KeyedDecodingContainer.swift
[56/110] Compiling MessagePack KeyedSingleDecodingContainer.swift
[57/110] Compiling MessagePack IO.swift
[58/110] Compiling MessagePack UnkeyedDecodingContainer.swift
[59/110] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[60/110] 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 {
[61/110] 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 {
[62/110] Compiling MessagePack _MessagePackDecoder.swift
[63/110] Compiling MessagePack KeyedEncodingContainer.swift
[69/110] Emitting module ArgumentParser
BUILD FAILURE 6.1 android