-
Notifications
You must be signed in to change notification settings - Fork 473
Open
Description
Hello, this is a homebrew maintainer and we get some error on MacOS 14.
[930/932] Compiling Vapor Application.swift
/private/tmp/whisperkit-cli-20251107-4662-2e6i5u/WhisperKit-0.15.0/.build/checkouts/vapor/Sources/Vapor/Security/OTP.swift:130:9: error: stored property 'key' of 'Sendable'-conforming struct 'HOTP' has non-sendable type 'SymmetricKey'
128 | /// See `TOTP` for time-based one-time passwords.
129 | public struct HOTP: OTP, Sendable {
130 | let key: SymmetricKey
| `- error: stored property 'key' of 'Sendable'-conforming struct 'HOTP' has non-sendable type 'SymmetricKey'
131 | let digits: OTPDigits
132 | let digest: OTPDigest
CryptoKit.SymmetricKey:2:15: note: struct 'SymmetricKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *)
2 | public struct SymmetricKey : ContiguousBytes {
| `- note: struct 'SymmetricKey' does not conform to the 'Sendable' protocol
3 | public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R
4 | public init<D>(data: D) where D : ContiguousBytes
/private/tmp/whisperkit-cli-20251107-4662-2e6i5u/WhisperKit-0.15.0/.build/checkouts/vapor/Sources/Vapor/Security/OTP.swift:198:9: error: stored property 'key' of 'Sendable'-conforming struct 'TOTP' has non-sendable type 'SymmetricKey'
196 | /// See `HOTP` for hash-based one-time passwords.
197 | public struct TOTP: OTP, Sendable {
198 | let key: SymmetricKey
| `- error: stored property 'key' of 'Sendable'-conforming struct 'TOTP' has non-sendable type 'SymmetricKey'
199 | let digits: OTPDigits
200 | let digest: OTPDigest
CryptoKit.SymmetricKey:2:15: note: struct 'SymmetricKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *)
2 | public struct SymmetricKey : ContiguousBytes {
| `- note: struct 'SymmetricKey' does not conform to the 'Sendable' protocol
3 | public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R
4 | public init<D>(data: D) where D : ContiguousBytes
Can you check?
Thanks,
Metadata
Metadata
Assignees
Labels
No labels