Build Information
Failed to build YubiKit, reference main (3359a6), with Swift 6.1 for macOS (SPM) on 3 May 2026 21:57:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[88/154] Compiling YubiKit FIDOInterface+Commands.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:81:15: error: ambiguous use of 'send(command:payload:)'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: found this candidate
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: found this candidate
64 | command: CTAP2.Command,
65 | payload: I
:
79 | command: CTAP2.Command
80 | ) async -> CTAP2.StatusStream<Void> {
81 | await send(command: command, payload: nil as CBOR.Value?)
| `- error: ambiguous use of 'send(command:payload:)'
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/FIDOInterface/FIDOInterface+CBORInterface.swift:19:1: error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (HID/USB Transport)
18 |
19 | extension FIDOInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[89/154] Compiling YubiKit FIDOInterface+HIDFraming.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:81:15: error: ambiguous use of 'send(command:payload:)'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: found this candidate
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: found this candidate
64 | command: CTAP2.Command,
65 | payload: I
:
79 | command: CTAP2.Command
80 | ) async -> CTAP2.StatusStream<Void> {
81 | await send(command: command, payload: nil as CBOR.Value?)
| `- error: ambiguous use of 'send(command:payload:)'
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/FIDOInterface/FIDOInterface+CBORInterface.swift:19:1: error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (HID/USB Transport)
18 |
19 | extension FIDOInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[90/154] Compiling YubiKit FIDOInterface.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:81:15: error: ambiguous use of 'send(command:payload:)'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: found this candidate
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: found this candidate
64 | command: CTAP2.Command,
65 | payload: I
:
79 | command: CTAP2.Command
80 | ) async -> CTAP2.StatusStream<Void> {
81 | await send(command: command, payload: nil as CBOR.Value?)
| `- error: ambiguous use of 'send(command:payload:)'
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/FIDOInterface/FIDOInterface+CBORInterface.swift:19:1: error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (HID/USB Transport)
18 |
19 | extension FIDOInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[91/154] Compiling YubiKit SmartCardInterface+CBORInterface.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:81:15: error: ambiguous use of 'send(command:payload:)'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: found this candidate
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: found this candidate
64 | command: CTAP2.Command,
65 | payload: I
:
79 | command: CTAP2.Command
80 | ) async -> CTAP2.StatusStream<Void> {
81 | await send(command: command, payload: nil as CBOR.Value?)
| `- error: ambiguous use of 'send(command:payload:)'
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/FIDOInterface/FIDOInterface+CBORInterface.swift:19:1: error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (HID/USB Transport)
18 |
19 | extension FIDOInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[92/154] Compiling YubiKit CTAP+SessionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:81:15: error: ambiguous use of 'send(command:payload:)'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: found this candidate
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: found this candidate
64 | command: CTAP2.Command,
65 | payload: I
:
79 | command: CTAP2.Command
80 | ) async -> CTAP2.StatusStream<Void> {
81 | await send(command: command, payload: nil as CBOR.Value?)
| `- error: ambiguous use of 'send(command:payload:)'
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/FIDOInterface/FIDOInterface+CBORInterface.swift:19:1: error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (HID/USB Transport)
18 |
19 | extension FIDOInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[93/154] Compiling YubiKit CTAPSession+ClientPIN.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:81:15: error: ambiguous use of 'send(command:payload:)'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: found this candidate
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: found this candidate
64 | command: CTAP2.Command,
65 | payload: I
:
79 | command: CTAP2.Command
80 | ) async -> CTAP2.StatusStream<Void> {
81 | await send(command: command, payload: nil as CBOR.Value?)
| `- error: ambiguous use of 'send(command:payload:)'
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/FIDOInterface/FIDOInterface+CBORInterface.swift:19:1: error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (HID/USB Transport)
18 |
19 | extension FIDOInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[94/154] Compiling YubiKit CTAPSession+Creation.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:81:15: error: ambiguous use of 'send(command:payload:)'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: found this candidate
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: found this candidate
64 | command: CTAP2.Command,
65 | payload: I
:
79 | command: CTAP2.Command
80 | ) async -> CTAP2.StatusStream<Void> {
81 | await send(command: command, payload: nil as CBOR.Value?)
| `- error: ambiguous use of 'send(command:payload:)'
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/FIDOInterface/FIDOInterface+CBORInterface.swift:19:1: error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (HID/USB Transport)
18 |
19 | extension FIDOInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'FIDOInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/SmartCardInterface+CBORInterface.swift:19:1: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
17 | // MARK: - CBORInterface Conformance (NFC/SmartCard Transport)
18 |
19 | extension SmartCardInterface: CBORInterface where Error == CTAP2.SessionError {
| |- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
| `- note: add stubs for conformance
20 |
21 | func send<I: In, O: Out>(
| |- note: candidate has non-matching type '<Error, I, O> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<O>' [with Error = CTAP2.SessionError]
| `- note: candidate would match if 'Void' conformed to 'CBOR.Decodable'
22 | command: CTAP2.Command,
23 | payload: I
:
30 | }
31 |
32 | func send<I: In>(
| |- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
| `- note: candidate has non-matching type '<Error, I> (command: CTAP2.Command, payload: I) -> CTAP2.StatusStream<Void>' [with Error = CTAP2.SessionError]
33 | command: CTAP2.Command,
34 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:10: note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I, O> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<O>'
53 | command: CTAP2.Command,
54 | payload: I
:
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- note: protocol requires function 'send(command:payload:)' with type '<I> (command: CTAP2.Command, payload: I) async -> CTAP2.StatusStream<Void>'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Session/CTAPSession+ClientPIN.swift:119:10: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
117 | let supportsTokenPermissions: Bool
118 |
119 | func getRetries() async throws(CTAP2.SessionError) -> CTAP2.ClientPin.GetRetries.Response {
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
120 | let params = CTAP2.ClientPin.GetRetries.Parameters(pinUVAuthProtocol: pinProtocol)
121 | let stream: CTAP2.StatusStream<CTAP2.ClientPin.GetRetries.Response> = await interface.send(
[95/154] Compiling YubiKit Commands.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[96/154] Compiling YubiKit Permissions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[97/154] Compiling YubiKit ProtocolVersion+Crypto.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[98/154] Compiling YubiKit Types.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[99/154] Compiling YubiKit Config.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[100/154] Compiling YubiKit CredentialManagement+AsyncSequence.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[101/154] Compiling YubiKit CredentialManagement+Types+CBOR.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[102/154] Compiling YubiKit CredentialManagement+Types.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[103/154] Compiling YubiKit CredentialManagement.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[104/154] Compiling YubiKit CredBlob.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[105/154] Compiling YubiKit CredProtect.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[106/154] Compiling YubiKit Extension.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[107/154] Compiling YubiKit HmacSecret.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[108/154] Compiling YubiKit LargeBlobKey.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[109/154] Compiling YubiKit MinPinLength.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CTAP/Config/Config.swift:114:22: error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
112 | // MARK: - Internal
113 |
114 | private func execute(
| `- error: type 'CTAP2.Session.Interface' does not conform to protocol 'CBORInterface'
115 | subcommand: Subcommand,
116 | params: [UInt8: CBOR.Value]? = nil
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[110/154] Compiling YubiKit Curve25519Keys.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[111/154] Compiling YubiKit ECKeys.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[112/154] Compiling YubiKit PublicKey.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[113/154] Compiling YubiKit RSAKeys.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[114/154] Compiling YubiKit X509Cert.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[115/154] Compiling YubiKit Capability.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[116/154] Compiling YubiKit DeviceConfig.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[117/154] Compiling YubiKit DeviceInfo.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[118/154] Compiling YubiKit ManagementInterface.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[119/154] Compiling YubiKit ManagementSession.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[120/154] Compiling YubiKit OATHSession+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[121/154] Compiling YubiKit OATHSession.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[122/154] Compiling YubiKit OATHSessionFeature.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[123/154] Compiling YubiKit PIVDataFormatter.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[124/154] Compiling YubiKit PIVDataTypes.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementInterface.swift:86:17: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
84 | /// - Parameter page: The page number to read (0-based).
85 | /// - Returns: The raw TLV-encoded configuration data for the requested page.
86 | public func readConfig(page: UInt8) async throws -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
87 | let apdu = APDU(cla: 0, ins: 0x1d, p1: page, p2: 0)
88 | return try await send(apdu: apdu)
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Management/ManagementSession.swift:52:33: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
50 | // NEXTMAJOR: Remove SmartCardSession conformance
51 | // NEXTMAJOR: Consider if this needs to be an actor - it has no mutable state
52 | public final actor Session: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
53 |
54 | public typealias Error = ManagementSessionError
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/OATH/OATHSession.swift:34:20: warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
32 | /// let you store, calculate and edit TOTP and HOTP credentials on the YubiKey. Learn
33 | /// more about OATH on the [Yubico developer website](https://developers.yubico.com/OATH/).
34 | public final actor OATHSession: SmartCardSessionInternal {
| `- warning: conformance of 'OATHSession' to 'SmartCardSession' is deprecated: Use concrete session types directly instead of SmartCardSession protocol.
35 |
36 | public typealias Feature = OATHSessionFeature
[125/154] Compiling YubiKit SmartCardSession.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[126/154] Compiling YubiKit Base32.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[127/154] Compiling YubiKit Array+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[128/154] Compiling YubiKit AsyncSequence+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[129/154] Compiling YubiKit Data+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[130/154] Compiling YubiKit Logger+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[131/154] Compiling YubiKit NSLock+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[132/154] Compiling YubiKit Promise.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[133/154] Compiling YubiKit Runloop+Async.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[134/154] Compiling YubiKit Stream+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[135/154] Compiling YubiKit String+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[136/154] Compiling YubiKit TKTLVRecord+Extensions.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[137/154] Compiling YubiKit Task+Timeout.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[138/154] Compiling YubiKit UIDevice+Capabilities.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[139/154] Compiling YubiKit Version.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:59:36: warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
57 |
58 | // NEXTMAJOR: Remove this protocol when SmartCardSession is removed
59 | protocol SmartCardSessionInternal: SmartCardSession {
| `- warning: 'SmartCardSession' is deprecated: Do not use SmartCardSession as a generic constraint. Use concrete session types directly.
60 | var interface: SmartCardInterface<Error> { get }
61 | }
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:52:25: error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
50 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
51 | /// - Returns: Async sequence of status updates, ending with `.finished(response)` or errors
52 | func send<I: In, O: Out>(
| `- error: type 'O' constrained to non-protocol, non-class type 'Self.Out'
53 | command: CTAP2.Command,
54 | payload: I
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/Session/SmartCard/SmartCardSession.swift:73:10: error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
71 |
72 | @discardableResult
73 | func process(apdu: APDU) async throws(Self.Error) -> Data {
| `- error: type 'SmartCardInterface<Error>' does not conform to protocol 'CBORInterface'
74 | let isOATH = Self.application == .oath
75 |
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/Interfaces/CBORInterface.swift:63:18: error: type 'I' constrained to non-protocol, non-class type 'Self.In'
61 | /// - payload: CBOR-encodable payload (will be CBOR-encoded)
62 | /// - Returns: Async sequence of status updates, ending with `.finished(())`
63 | func send<I: In>(
| `- error: type 'I' constrained to non-protocol, non-class type 'Self.In'
64 | command: CTAP2.Command,
65 | payload: I
[140/154] Compiling YubiKit Curve25519.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[141/154] Compiling YubiKit Data+Crypto.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[142/154] Compiling YubiKit Keys+Crypto.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[143/154] Compiling YubiKit SecKey+Crypto.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[144/154] Compiling YubiKit FIDOConnectionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[145/154] Compiling YubiKit SmartCardConnectionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[146/154] Compiling YubiKit FIDOSessionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[147/154] Compiling YubiKit ManagementSessionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[148/154] Compiling YubiKit OATHSessionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[149/154] Compiling YubiKit PIVSessionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[150/154] Compiling YubiKit SCPError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[151/154] Compiling YubiKit SessionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[152/154] Compiling YubiKit SmartCardSessionError.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[153/154] Compiling YubiKit SourceLocation.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
[154/154] Compiling YubiKit CBOR+Decode.swift
/Users/admin/builder/spi-builder-workspace/YubiKit/YubiKit/FIDO/CBOR/CBOR+Decode.swift:172:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
170 | }
171 |
172 | let value =
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
173 | UInt64(data[offset]) << 56
174 | | UInt64(data[offset + 1]) << 48
BUILD FAILURE 6.1 macosSpm