Build Information
Failed to build JWSETKit, reference 0.26.0 (e7e6b5
), with Swift 6.2 (beta) for macOS (SPM) on 14 Aug 2025 22:31:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.66.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amosavian/JWSETKit.git
Reference: 0.26.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amosavian/JWSETKit
* tag 0.26.0 -> FETCH_HEAD
HEAD is now at e7e6b5e feat: Make MLDSA and HPKE algorithms public
Cloned https://github.com/amosavian/JWSETKit.git
Revision (git rev-parse @):
e7e6b5e265a7f2823291122a1bf6ee92527bc612
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/amosavian/JWSETKit.git at 0.26.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/amosavian/JWSETKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/20] Copying PrivacyInfo.xcprivacy
[0/20] Write sources
[0/20] Copying Localizable.stringsdict
[0/20] Write sources
[0/20] Copying Localizable.stringsdict
[8/20] Copying PrivacyInfo.xcprivacy
[8/20] Copying Info.plist
[8/20] Write sources
[19/20] Write swift-version-1EA4D86E10B52AF.txt
[21/126] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/126] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/127] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/127] Compiling InternalCollectionsUtilities Debugging.swift
[25/127] Compiling Crypto ASN1.swift
[26/127] Compiling Crypto ASN1Any.swift
[27/127] Compiling Crypto AES-GCM.swift
[28/127] Compiling Crypto AES-GCM_boring.swift
[29/127] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[30/127] Compiling Crypto Cipher.swift
[31/127] Compiling Crypto Nonces.swift
[32/127] Compiling Crypto ChaChaPoly_boring.swift
[33/127] Compiling Crypto ChaChaPoly.swift
[34/127] Emitting module InternalCollectionsUtilities
[35/127] Compiling InternalCollectionsUtilities Descriptions.swift
[36/409] Compiling DequeModule _DequeBufferHeader.swift
[37/410] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[38/410] Compiling HashTreeCollections _HashNode+Structural merge.swift
[39/410] Compiling DequeModule _DequeBuffer.swift
[40/410] Compiling DequeModule _DequeSlot.swift
[41/410] Compiling HeapModule _HeapNode.swift
[42/410] Compiling HeapModule Heap.swift
[43/410] Compiling HeapModule Heap+Invariants.swift
[44/410] Compiling HeapModule Heap+UnsafeHandle.swift
[45/410] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[46/410] Compiling HeapModule Heap+Descriptions.swift
[47/410] Emitting module HeapModule
[48/410] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[49/410] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[50/410] Compiling HashTreeCollections _HashNode+Structural union.swift
[51/410] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[52/410] Compiling DequeModule _UnsafeWrappedBuffer.swift
[53/410] Compiling HashTreeCollections TreeDictionary.swift
[54/410] Compiling HashTreeCollections TreeSet+Codable.swift
[55/410] Compiling HashTreeCollections TreeSet+Collection.swift
[56/410] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[57/410] Compiling HashTreeCollections TreeSet+Debugging.swift
[58/410] Compiling HashTreeCollections TreeSet+Descriptions.swift
[59/416] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[60/416] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[61/416] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[62/416] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[63/416] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[64/416] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[65/416] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[66/416] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[67/416] Compiling HashTreeCollections _AncestorHashSlots.swift
[68/416] Compiling HashTreeCollections _Bitmap.swift
[69/416] Compiling HashTreeCollections _Bucket.swift
[70/416] Compiling HashTreeCollections _Hash.swift
[71/416] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[72/416] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[73/416] Compiling HashTreeCollections _RawHashNode.swift
[74/416] Compiling HashTreeCollections _UnmanagedHashNode.swift
[75/416] Compiling HashTreeCollections _UnsafePath.swift
[76/416] Compiling HashTreeCollections TreeDictionary+Codable.swift
[77/416] Compiling HashTreeCollections TreeDictionary+Collection.swift
[78/416] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[79/416] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[80/416] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[81/416] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[82/416] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[83/421] Compiling HashTreeCollections TreeDictionary+Keys.swift
[84/421] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[85/421] Compiling HashTreeCollections TreeDictionary+Merge.swift
[86/421] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[87/421] Compiling HashTreeCollections _HashNode+Lookups.swift
[88/421] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[89/421] Compiling HashTreeCollections TreeDictionary+Filter.swift
[90/421] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[91/421] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[92/421] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[93/421] Compiling HashTreeCollections TreeDictionary+Values.swift
[104/421] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[105/421] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[106/421] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[107/421] Compiling HashTreeCollections _HashNode+Storage.swift
[108/421] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[109/421] Compiling HashTreeCollections _HashNode+Structural filter.swift
[111/421] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[112/421] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[137/421] Emitting module DequeModule
[156/421] Compiling HashTreeCollections TreeSet+Extras.swift
[157/421] Compiling HashTreeCollections TreeSet+Filter.swift
[158/421] Compiling HashTreeCollections TreeSet+Hashable.swift
[159/421] Compiling HashTreeCollections TreeSet+Sendable.swift
[160/421] Compiling HashTreeCollections TreeSet+Sequence.swift
[161/421] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[162/421] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[163/428] Emitting module BitCollections
[170/428] Compiling BitCollections BitSet.swift
[171/428] Compiling BitCollections Range+Utilities.swift
[172/428] Compiling BitCollections Slice+Utilities.swift
[173/428] Compiling BitCollections UInt+Tricks.swift
[174/428] Compiling BitCollections _Word.swift
[202/428] Compiling OrderedCollections OrderedSet.swift
[203/428] Compiling OrderedCollections _UnsafeBitset.swift
[204/428] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[221/428] Compiling _RopeModule Rope+Remove.swift
[222/428] Compiling _RopeModule Rope+RemoveSubrange.swift
[223/428] Compiling _RopeModule Rope+Split.swift
[224/428] Compiling _RopeModule Optional Utilities.swift
[225/428] Compiling _RopeModule String Utilities.swift
[226/428] Compiling _RopeModule String.Index+ABI.swift
[227/428] Compiling _RopeModule _CharacterRecognizer.swift
[228/428] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[259/436] Emitting module OrderedCollections
[303/436] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[304/436] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[305/436] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[306/436] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[307/436] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[308/436] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[309/436] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[310/436] Compiling HashTreeCollections TreeSet.swift
[320/436] Emitting module _RopeModule
[338/437] Compiling SwiftASN1 DER.swift
[357/437] Compiling SwiftASN1 Errors.swift
[358/437] Emitting module HashTreeCollections
[359/439] Compiling Collections Collections.swift
[360/439] Emitting module Collections
[361/439] Emitting module SwiftASN1
[414/447] Emitting module Crypto
[440/447] Compiling Crypto RNG_boring.swift
[441/447] Compiling Crypto SafeCompare_boring.swift
[442/447] Compiling Crypto Zeroization_boring.swift
[443/447] Compiling Crypto PrettyBytes.swift
[444/447] Compiling Crypto SafeCompare.swift
[445/447] Compiling Crypto SecureBytes.swift
[446/447] Compiling Crypto Zeroization.swift
[447/447] Compiling Crypto resource_bundle_accessor.swift
[448/514] Compiling JWSETKit Keys.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:44:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
44 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
45 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
46 | return MLDSA65.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:50:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
:
48 | throw JSONWebKeyError.unknownKeyType
49 | }
50 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
51 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
52 | return MLDSA87.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:122:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
122 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
123 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
124 | return MLDSA65.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:128:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
:
126 | throw JSONWebKeyError.unknownKeyType
127 | }
128 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
129 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
130 | return MLDSA87.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[449/514] Compiling JWSETKit JWK-MLDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:44:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
44 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
45 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
46 | return MLDSA65.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:50:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
:
48 | throw JSONWebKeyError.unknownKeyType
49 | }
50 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
51 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
52 | return MLDSA87.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:122:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
122 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
123 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
124 | return MLDSA65.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:128:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
:
126 | throw JSONWebKeyError.unknownKeyType
127 | }
128 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
129 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
130 | return MLDSA87.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[450/514] Compiling JWSETKit MLDSA65.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:44:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
44 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
45 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
46 | return MLDSA65.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:50:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
:
48 | throw JSONWebKeyError.unknownKeyType
49 | }
50 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
51 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
52 | return MLDSA87.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:122:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
122 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
123 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
124 | return MLDSA65.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:128:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
:
126 | throw JSONWebKeyError.unknownKeyType
127 | }
128 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
129 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
130 | return MLDSA87.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[451/514] Compiling JWSETKit MLDSA87.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:44:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
44 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
45 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
46 | return MLDSA65.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:50:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
:
48 | throw JSONWebKeyError.unknownKeyType
49 | }
50 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
51 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
52 | return MLDSA87.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:122:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
122 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
123 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
124 | return MLDSA65.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:128:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
:
126 | throw JSONWebKeyError.unknownKeyType
127 | }
128 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
129 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
130 | return MLDSA87.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[452/514] Compiling JWSETKit ModuleLatticeAbstract.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:44:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
44 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
45 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
46 | return MLDSA65.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:50:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
:
48 | throw JSONWebKeyError.unknownKeyType
49 | }
50 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
51 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
52 | return MLDSA87.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:122:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
122 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
123 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
124 | return MLDSA65.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:128:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
:
126 | throw JSONWebKeyError.unknownKeyType
127 | }
128 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
129 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
130 | return MLDSA87.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[453/514] Compiling JWSETKit JWK-RSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:44:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
44 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
45 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
46 | return MLDSA65.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:50:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
:
48 | throw JSONWebKeyError.unknownKeyType
49 | }
50 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
51 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
52 | return MLDSA87.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:122:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
122 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
123 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
124 | return MLDSA65.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:128:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
:
126 | throw JSONWebKeyError.unknownKeyType
127 | }
128 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
129 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
130 | return MLDSA87.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[454/514] Compiling JWSETKit RSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:44:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
44 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
45 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
46 | return MLDSA65.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:50:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
14 |
15 | /// JSON Web Key (JWK) container for different types of Post-Quantum public keys consists of MLDSA-65 and MLDSA-87.
16 | package struct JSONWebMLDSAPublicKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebValidatingKey, Hashable, Sendable {
| `- note: add @available attribute to enclosing struct
17 | public var storage: JSONWebValueStorage
18 |
:
39 | }
40 |
41 | static func validatingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebValidatingKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
42 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
43 | #if canImport(CryptoKit) && compiler(>=6.2)
:
48 | throw JSONWebKeyError.unknownKeyType
49 | }
50 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
51 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
52 | return MLDSA87.PublicKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:122:15: error: 'mldsa65Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
122 | case .mldsa65Signature:
| |- error: 'mldsa65Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
123 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
124 | return MLDSA65.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/JWK-MLDSA.swift:128:15: error: 'mldsa87Signature' is only available in macOS 26.0 or newer
88 |
89 | /// JWK container for different types of Elliptic-Curve private keys consists of P-256, P-384, P-521, Ed25519.
90 | package struct JSONWebMLDSAPrivateKey: MutableJSONWebKey, JSONWebKeyAlgorithmKeyPairType, JSONWebSigningKey, Sendable {
| `- note: add @available attribute to enclosing struct
91 | public var storage: JSONWebValueStorage
92 |
:
117 | }
118 |
119 | static func signingType(_ algorithm: (any JSONWebAlgorithm)?) throws -> any (JSONWebSigningKey & JSONWebKeyImportable).Type {
| `- note: add @available attribute to enclosing static method
120 | switch algorithm ?? JSONWebSignatureAlgorithm.unsafeNone {
121 | #if canImport(CryptoKit) && compiler(>=6.2)
:
126 | throw JSONWebKeyError.unknownKeyType
127 | }
128 | case .mldsa87Signature:
| |- error: 'mldsa87Signature' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
129 | if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
130 | return MLDSA87.PrivateKey.self
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[455/521] Compiling JWSETKit JWTOAuthClaims.swift
[456/521] Compiling JWSETKit JWTOIDCAuth.swift
[457/521] Compiling JWSETKit JWTOIDCStandard.swift
[458/521] Compiling JWSETKit JWTPayload.swift
[459/521] Compiling JWSETKit JWTPopClaims.swift
[460/521] Compiling JWSETKit JWTRegisteredClaims.swift
[461/521] Compiling JWSETKit ASN1.swift
[462/521] Compiling JWSETKit EncryptedData.swift
[463/521] Compiling JWSETKit Error.swift
[464/521] Compiling JWSETKit Expiry.swift
[465/521] Compiling JWSETKit ProtectedContainer.swift
[466/521] Compiling JWSETKit RawType.swift
[467/521] Compiling JWSETKit Storage.swift
[468/521] Compiling JWSETKit StorageField.swift
[469/521] Compiling JWSETKit WebContainer.swift
[470/521] Compiling JWSETKit HMAC.swift
[471/521] Compiling JWSETKit PBKDF2.swift
[472/521] Compiling JWSETKit SymmetricKey.swift
[473/521] Compiling JWSETKit JOSE-JWEHPKERegistered.swift
[474/521] Compiling JWSETKit JOSE-JWERegistered.swift
[475/521] Compiling JWSETKit JOSE-JWSRegistered.swift
[476/521] Compiling JWSETKit JOSEHeader.swift
[477/521] Compiling JWSETKit JWE.swift
[478/521] Compiling JWSETKit JWECodable.swift
[479/521] Compiling JWSETKit JWEHeader.swift
[480/521] Compiling JWSETKit JWERecipient.swift
[481/521] Compiling JWSETKit JWS.swift
[482/521] Compiling JWSETKit JWSCodable.swift
[483/521] Compiling JWSETKit JWSHeader.swift
[484/521] Compiling JWSETKit RSA_boring.swift
[485/521] Compiling JWSETKit SecKey.swift
[486/521] Compiling JWSETKit AES-CBC-HMAC.swift
[487/521] Compiling JWSETKit AES.swift
[488/521] Compiling JWSETKit CommonCrypto.swift
[489/521] Compiling JWSETKit ConcatKDF.swift
[490/521] Compiling JWSETKit Direct.swift
[491/521] Compiling JWSETKit Algorithms.swift
[492/521] Compiling JWSETKit Compression.swift
[493/521] Compiling JWSETKit ContentEncryption.swift
[494/521] Compiling JWSETKit KeyEncryption.swift
[495/521] Compiling JWSETKit RFC5480Algorithms.swift
[496/521] Compiling JWSETKit Signature.swift
[497/521] Compiling JWSETKit JSONWebCertificate.swift
[498/521] Compiling JWSETKit SecCertificate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[499/521] Compiling JWSETKit X509Certificate.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[500/521] Compiling JWSETKit Apple.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[501/521] Compiling JWSETKit Zlib.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[502/521] Compiling JWSETKit ECCAbstract.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[503/521] Compiling JWSETKit Ed25519.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[504/521] Compiling JWSETKit HPKE.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[505/521] Compiling JWSETKit JWK-EC.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[506/521] Compiling JWSETKit P256.swift
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
[507/521] Emitting module JWSETKit
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/EC/HPKE.swift:103:53: warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
101 |
102 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
103 | extension Crypto.HPKE.Ciphersuite: @unchecked Swift.Sendable {}
| `- warning: conformance of 'HPKE.Ciphersuite' to protocol 'Sendable' was already stated in the type's module 'CryptoKit'
104 |
105 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 17.0, *)
CryptoKit.HPKE.Ciphersuite:2:15: note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
1 | enum HPKE {
2 | public struct Ciphersuite : Sendable {
| `- note: 'HPKE.Ciphersuite' declares conformance to protocol 'Sendable' here
3 | public static let P256_SHA256_AES_GCM_256: HPKE.Ciphersuite
4 | public static let P384_SHA384_AES_GCM_256: HPKE.Ciphersuite
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA65.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA65.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa65Signature
24 |
CryptoKit.MLDSA65.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA65 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/MLDSA87.swift:22:1: error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
20 |
21 | @available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *)
22 | extension MLDSA87.PublicKey: JSONWebValidatingKey, JSONWebKeyRawRepresentable, JSONWebKeyImportable, JSONWebKeyExportable, CryptoModuleLatticePublicKey {
| `- error: instance method 'isValidSignature(signature:for:)' has different argument labels from those required by protocol 'CryptoModuleLatticePublicKey' ('isValidSignature(_:for:)')
23 | public static let algorithm: any JSONWebAlgorithm = .mldsa87Signature
24 |
CryptoKit.MLDSA87.PublicKey.isValidSignature:3:13: note: 'isValidSignature(signature:for:)' declared here
1 | enum MLDSA87 {
2 | struct PublicKey {
3 | public func isValidSignature<S, D>(signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol }
| `- note: 'isValidSignature(signature:for:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/JWSETKit/Cryptography/PQC/ModuleLatticeAbstract.swift:16:10: note: requirement 'isValidSignature(_:for:)' declared here
14 |
15 | protocol CryptoModuleLatticePublicKey: JSONWebKey, JSONWebKeyRawRepresentable, JSONWebKeyAlgorithmIdentified, JSONWebKeyImportable, JSONWebKeyExportable {
16 | func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
| `- note: requirement 'isValidSignature(_:for:)' declared here
17 | }
18 |
[508/521] Compiling JWSETKit Base64.swift
[509/521] Compiling JWSETKit Codable.swift
[510/521] Compiling JWSETKit Data.swift
[511/521] Compiling JWSETKit KeyLookup.swift
[512/521] Compiling JWSETKit Localizing.swift
[513/521] Compiling JWSETKit LockValue.swift
[514/521] Compiling JWSETKit resource_bundle_accessor.swift
[515/521] Compiling JWSETKit P384.swift
[516/521] Compiling JWSETKit P521.swift
[517/521] Compiling JWSETKit KeyASN1.swift
[518/521] Compiling JWSETKit KeyAccessors.swift
[519/521] Compiling JWSETKit KeyExporter.swift
[520/521] Compiling JWSETKit KeyParser.swift
[521/521] Compiling JWSETKit KeySet.swift
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-collections.git
[1/1629] Fetching swift-asn1
[441/8089] Fetching swift-asn1, swift-certificates
[848/25066] Fetching swift-asn1, swift-certificates, swift-collections
[2358/41326] Fetching swift-asn1, swift-certificates, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (2.07s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.07s)
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Fetched https://github.com/apple/swift-certificates from cache (2.07s)
Computing version for https://github.com/apple/swift-certificates
Computed https://github.com/apple/swift-certificates at 1.12.0 (5.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (0.76s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.53s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-certificates
Working copy of https://github.com/apple/swift-certificates resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
warning: 'spi-builder-workspace': dependency 'swift-certificates' is not used by any target
BUILD FAILURE 6.2 macosSpm