Build Information
Failed to build JWSETKit, reference main (19344c
), with Swift 6.2 (beta) for macOS (SPM) on 12 Sep 2025 06:55:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amosavian/JWSETKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amosavian/JWSETKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 19344c5 chore: Minor refactors
Cloned https://github.com/amosavian/JWSETKit.git
Revision (git rev-parse @):
19344c5219a20f8ea9da90f0586fa77a6d3ca2d0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/amosavian/JWSETKit.git at main
========================================
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] Write sources
[0/20] Copying PrivacyInfo.xcprivacy
[2/20] Write sources
[2/20] Copying Localizable.stringsdict
[7/20] Copying Info.plist
[7/20] Copying Localizable.stringsdict
[10/20] Write sources
[11/20] Copying Localizable.stringsdict
[12/20] Write sources
[19/20] Write swift-version-1EA4D86E10B52AF.txt
[21/126] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[22/126] Compiling InternalCollectionsUtilities Descriptions.swift
[23/126] Compiling InternalCollectionsUtilities Debugging.swift
[24/126] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/126] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/127] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/127] Compiling Crypto HPKE-KEM.swift
[28/127] Compiling Crypto HPKE-Errors.swift
[29/127] Compiling Crypto HPKE-Utils.swift
[30/127] Compiling Crypto DHKEM.swift
[31/127] Emitting module InternalCollectionsUtilities
[32/127] Compiling Crypto HPKE-KEM-Curve25519.swift
[33/127] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[34/127] Compiling Crypto HPKE-KexKeyDerivation.swift
[35/127] Compiling Crypto HPKE-LabeledExtract.swift
[36/409] Compiling DequeModule _DequeBufferHeader.swift
[37/410] Compiling HeapModule _HeapNode.swift
[38/410] Compiling HeapModule Heap+Invariants.swift
[39/410] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[40/410] Compiling HeapModule Heap.swift
[41/410] Compiling _RopeModule Rope+_UnsafeHandle.swift
[42/410] Compiling _RopeModule Rope.swift
[43/410] Compiling _RopeModule RopeElement.swift
[44/410] Compiling _RopeModule RopeMetric.swift
[45/410] Compiling _RopeModule BigString+Builder.swift
[46/410] Compiling _RopeModule BigString+Contents.swift
[47/416] Compiling HeapModule Heap+Descriptions.swift
[48/416] Compiling HeapModule Heap+UnsafeHandle.swift
[49/416] Emitting module HeapModule
[50/416] Compiling _RopeModule Rope+ForEachWhile.swift
[51/416] Compiling _RopeModule Rope+Insert.swift
[52/416] Compiling _RopeModule Rope+Join.swift
[53/416] Compiling _RopeModule Rope+MutatingForEach.swift
[54/416] Compiling _RopeModule BigString+Insert.swift
[55/416] Compiling _RopeModule BigString+Managing Breaks.swift
[56/416] Compiling DequeModule _UnsafeWrappedBuffer.swift
[57/416] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[63/421] Compiling _RopeModule BigString+TextOutputStream.swift
[64/421] Compiling _RopeModule BigString+Append.swift
[65/421] Compiling _RopeModule BigString+Initializers.swift
[66/421] Compiling _RopeModule Rope+_Node.swift
[67/421] Compiling _RopeModule Rope+_Storage.swift
[69/421] Compiling DequeModule _DequeSlot.swift
[70/421] Compiling _RopeModule BigSubstring+UTF8View.swift
[71/421] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[72/421] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[73/421] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[74/421] Compiling DequeModule _DequeBuffer.swift
[75/421] Compiling _RopeModule BigString+Chunk+Counts.swift
[76/421] Compiling _RopeModule BigString+Chunk+Description.swift
[77/421] Compiling _RopeModule Rope+Sequence.swift
[78/421] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[79/421] Compiling _RopeModule BigString+Hashing.swift
[80/421] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[81/421] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[82/421] Compiling _RopeModule BigString+Sequence.swift
[83/421] Compiling _RopeModule RopeSummary.swift
[84/421] Compiling _RopeModule _RopeItem.swift
[85/421] Compiling _RopeModule _RopePath.swift
[86/421] Compiling _RopeModule _RopeVersion.swift
[87/421] Compiling _RopeModule Rope+Collection.swift
[88/421] Compiling _RopeModule Rope+Index.swift
[89/421] Compiling _RopeModule BigString+RemoveSubrange.swift
[90/421] Compiling _RopeModule BigString+ReplaceSubrange.swift
[91/421] Compiling _RopeModule BigString+Split.swift
[92/421] Compiling _RopeModule Range+BigString.swift
[93/421] Compiling _RopeModule BigString+UTF16View.swift
[94/421] Compiling _RopeModule BigString+UTF8View.swift
[95/421] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[96/421] Compiling _RopeModule BigString+Chunk+Splitting.swift
[97/421] Compiling _RopeModule BigString+Chunk.swift
[98/421] Compiling _RopeModule BigString+BidirectionalCollection.swift
[99/421] Compiling _RopeModule BigString+Comparable.swift
[100/421] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[101/421] Compiling _RopeModule BigString+CustomStringConvertible.swift
[102/421] Compiling _RopeModule BigString+Equatable.swift
[103/421] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[104/421] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[105/421] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[106/421] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[107/421] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[108/421] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[109/421] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[110/421] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[111/429] Compiling _RopeModule BigString+UnicodeScalarView.swift
[112/429] Compiling _RopeModule BigSubstring+UTF16View.swift
[113/429] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[114/429] Compiling _RopeModule BigString+Chunk+Breaks.swift
[126/429] Compiling _RopeModule BigSubstring.swift
[127/429] Compiling _RopeModule Rope+Builder.swift
[128/429] Compiling _RopeModule Rope+Debugging.swift
[129/429] Compiling _RopeModule Rope+Invariants.swift
[130/429] Compiling _RopeModule Rope+Append.swift
[131/429] Compiling _RopeModule Rope+Extract.swift
[132/429] Compiling _RopeModule Rope+Find.swift
[133/429] Emitting module DequeModule
[134/429] Compiling _RopeModule BigString+Summary.swift
[135/429] Compiling _RopeModule BigString.swift
[160/429] Compiling BitCollections BitSet.swift
[161/429] Compiling BitCollections Range+Utilities.swift
[162/429] Compiling BitCollections Slice+Utilities.swift
[163/429] Compiling BitCollections UInt+Tricks.swift
[164/429] Compiling BitCollections _Word.swift
[177/429] Emitting module BitCollections
[184/429] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[185/429] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[186/429] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[187/429] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[188/429] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[189/429] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[190/429] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[191/429] Compiling HashTreeCollections TreeSet.swift
[218/436] Compiling OrderedCollections OrderedSet.swift
[219/436] Compiling OrderedCollections _UnsafeBitset.swift
[237/436] Emitting module OrderedCollections
[285/436] Emitting module _RopeModule
[286/436] Compiling _RopeModule Rope+Remove.swift
[287/436] Compiling _RopeModule Rope+RemoveSubrange.swift
[288/436] Compiling _RopeModule Rope+Split.swift
[289/436] Compiling _RopeModule Optional Utilities.swift
[290/436] Compiling _RopeModule String Utilities.swift
[291/436] Compiling _RopeModule String.Index+ABI.swift
[292/436] Compiling _RopeModule _CharacterRecognizer.swift
[293/436] Compiling SwiftASN1 DER.swift
[320/437] Compiling SwiftASN1 Errors.swift
[356/437] Emitting module HashTreeCollections
[357/439] Compiling Collections Collections.swift
[358/439] Emitting module Collections
[359/439] Emitting module SwiftASN1
[374/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[448/516] 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 |
[449/523] Compiling JWSETKit EncryptedData.swift
[450/523] Compiling JWSETKit Error.swift
[451/523] Compiling JWSETKit Expiry.swift
[452/523] Compiling JWSETKit ProtectedContainer.swift
[453/523] Compiling JWSETKit RawType.swift
[454/523] Compiling JWSETKit Storage.swift
[455/523] Compiling JWSETKit StorageField.swift
[456/523] Compiling JWSETKit WebContainer.swift
[457/523] Compiling JWSETKit JWECodable.swift
[458/523] Compiling JWSETKit JWEHeader.swift
[459/523] Compiling JWSETKit JWERecipient.swift
[460/523] Compiling JWSETKit JWS.swift
[461/523] Compiling JWSETKit JWSCodable.swift
[462/523] Compiling JWSETKit JWSHeader.swift
[463/523] Compiling JWSETKit JWTOAuthClaims.swift
[464/523] Compiling JWSETKit SecKey.swift
[465/523] Compiling JWSETKit AES-CBC-HMAC.swift
[466/523] Compiling JWSETKit AES.swift
[467/523] Compiling JWSETKit CommonCrypto.swift
[468/523] Compiling JWSETKit ConcatKDF.swift
[469/523] Compiling JWSETKit Direct.swift
[470/523] Compiling JWSETKit HMAC.swift
[471/523] Compiling JWSETKit PBKDF2.swift
[472/523] Compiling JWSETKit SymmetricKey.swift
[473/523] Compiling JWSETKit JOSE-JWEHPKERegistered.swift
[474/523] Compiling JWSETKit JOSE-JWERegistered.swift
[475/523] Compiling JWSETKit JOSE-JWSRegistered.swift
[476/523] Compiling JWSETKit JOSEHeader.swift
[477/523] Compiling JWSETKit JWE.swift
[478/523] Compiling JWSETKit Algorithms.swift
[479/523] Compiling JWSETKit Compression.swift
[480/523] Compiling JWSETKit ContentEncryption.swift
[481/523] Compiling JWSETKit KeyEncryption.swift
[482/523] Compiling JWSETKit RFC5480Algorithms.swift
[483/523] Compiling JWSETKit Signature.swift
[484/523] Compiling JWSETKit JSONWebCertificate.swift
[485/523] Compiling JWSETKit SecCertificate.swift
[486/523] 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
[487/523] 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
[488/523] 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
[489/523] 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
[490/523] 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
[491/523] 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
[492/523] 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
[493/523] 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
[494/523] Compiling JWSETKit Base64.swift
[495/523] Compiling JWSETKit Codable.swift
[496/523] Compiling JWSETKit Data.swift
[497/523] Compiling JWSETKit KeyLookup.swift
[498/523] Compiling JWSETKit Localizing.swift
[499/523] Compiling JWSETKit LockValue.swift
[500/523] Compiling JWSETKit resource_bundle_accessor.swift
[501/523] Compiling JWSETKit JWTOIDCAuth.swift
[502/523] Compiling JWSETKit JWTOIDCStandard.swift
[503/523] Compiling JWSETKit JWTPayload.swift
[504/523] Compiling JWSETKit JWTPopClaims.swift
[505/523] Compiling JWSETKit JWTRegisteredClaims.swift
[506/523] Compiling JWSETKit JWTSDClaims.swift
[507/523] Compiling JWSETKit ASN1.swift
[508/523] Compiling JWSETKit P384.swift
[509/523] Compiling JWSETKit P521.swift
[510/523] Compiling JWSETKit SHA.swift
[511/523] Compiling JWSETKit KeyASN1.swift
[512/523] Compiling JWSETKit KeyAccessors.swift
[513/523] Compiling JWSETKit KeyExporter.swift
[514/523] Compiling JWSETKit KeyParser.swift
[515/523] Compiling JWSETKit KeySet.swift
[516/523] 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 |
[517/523] 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 |
[518/523] 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 |
[519/523] 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 |
[520/523] 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 |
[521/523] 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 |
[522/523] 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 |
[523/523] Compiling JWSETKit RSA_boring.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 |
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-certificates
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1629] Fetching swift-asn1
[116/8212] Fetching swift-asn1, swift-certificates
[933/25076] Fetching swift-asn1, swift-certificates, swift-crypto
[1196/42529] Fetching swift-asn1, swift-certificates, swift-crypto, swift-collections
Fetched https://github.com/apple/swift-asn1.git from cache (1.34s)
Fetched https://github.com/apple/swift-certificates from cache (1.34s)
[5882/34317] Fetching swift-crypto, swift-collections
Fetched https://github.com/apple/swift-crypto.git from cache (3.53s)
Fetched https://github.com/apple/swift-collections.git from cache (3.53s)
Computing version for https://github.com/apple/swift-certificates
Computed https://github.com/apple/swift-certificates at 1.13.0 (6.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (0.72s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.50s)
Creating working copy for https://github.com/apple/swift-certificates
Working copy of https://github.com/apple/swift-certificates resolved at 1.13.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
warning: 'spi-builder-workspace': dependency 'swift-certificates' is not used by any target
BUILD FAILURE 6.2 macosSpm