Build Information
Successful build of swift-crypto, reference 3.12.3 (e8d6eb
), with Swift 6.0 for Linux on 7 Apr 2025 16:34:17 UTC.
Swift 6 data race errors: 18
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/Util/DigestType.swift:35:16: warning: static property 'sha1' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
20 | struct DigestType {
| `- note: consider making struct 'DigestType' conform to the 'Sendable' protocol
21 | var dispatchTable: OpaquePointer
22 |
:
33 | }
34 |
35 | static let sha1 = DigestType(CCryptoBoringSSL_EVP_sha1(), NID_sha1, digestLength: 20)
| |- warning: static property 'sha1' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sha1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | static let sha256 = DigestType(CCryptoBoringSSL_EVP_sha256(), NID_sha256, digestLength: 32)
/host/spi-builder-workspace/Sources/_CryptoExtras/Util/DigestType.swift:37:16: warning: static property 'sha256' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
20 | struct DigestType {
| `- note: consider making struct 'DigestType' conform to the 'Sendable' protocol
21 | var dispatchTable: OpaquePointer
22 |
:
35 | static let sha1 = DigestType(CCryptoBoringSSL_EVP_sha1(), NID_sha1, digestLength: 20)
36 |
37 | static let sha256 = DigestType(CCryptoBoringSSL_EVP_sha256(), NID_sha256, digestLength: 32)
| |- warning: static property 'sha256' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sha256' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | static let sha384 = DigestType(CCryptoBoringSSL_EVP_sha384(), NID_sha384, digestLength: 48)
/host/spi-builder-workspace/Sources/_CryptoExtras/Util/DigestType.swift:39:16: warning: static property 'sha384' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
20 | struct DigestType {
| `- note: consider making struct 'DigestType' conform to the 'Sendable' protocol
21 | var dispatchTable: OpaquePointer
22 |
:
37 | static let sha256 = DigestType(CCryptoBoringSSL_EVP_sha256(), NID_sha256, digestLength: 32)
38 |
39 | static let sha384 = DigestType(CCryptoBoringSSL_EVP_sha384(), NID_sha384, digestLength: 48)
| |- warning: static property 'sha384' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sha384' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | static let sha512 = DigestType(CCryptoBoringSSL_EVP_sha512(), NID_sha512, digestLength: 64)
/host/spi-builder-workspace/Sources/_CryptoExtras/Util/DigestType.swift:41:16: warning: static property 'sha512' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
20 | struct DigestType {
| `- note: consider making struct 'DigestType' conform to the 'Sendable' protocol
21 | var dispatchTable: OpaquePointer
22 |
:
39 | static let sha384 = DigestType(CCryptoBoringSSL_EVP_sha384(), NID_sha384, digestLength: 48)
40 |
41 | static let sha512 = DigestType(CCryptoBoringSSL_EVP_sha512(), NID_sha512, digestLength: 64)
| |- warning: static property 'sha512' is not concurrency-safe because non-'Sendable' type 'DigestType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sha512' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | init<DGT: Digest>(forDigestType digestType: DGT.Type = DGT.self) throws {
[492/536] Compiling _CryptoExtras AES_CBC.swift
[493/536] Compiling _CryptoExtras AES_CFB.swift
[494/536] Compiling _CryptoExtras AES_CTR.swift
[495/536] Compiling _CryptoExtras AES_GCM_SIV.swift
[496/536] Compiling _CryptoExtras Block Function.swift
[497/536] Compiling _CryptoExtras AES_CFB_boring.swift
[498/536] Compiling _CryptoExtras AES_CTR_boring.swift
[499/536] Compiling _CryptoExtras AES_GCM_SIV_boring.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:38:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
[500/536] Compiling _CryptoExtras ARC+API.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:38:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
[501/536] Compiling _CryptoExtras ARC.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:38:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
[502/536] Compiling _CryptoExtras ARCCredential.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:38:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
[503/536] Compiling _CryptoExtras ARCEncoding.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:38:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
[504/536] Compiling _CryptoExtras ARCPrecredential.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:38:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
[505/536] Compiling _CryptoExtras ARCPresentation.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:38:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
36 | /// The server secrets used to issue and verify credentials.
37 | public struct PrivateKey: Sendable {
38 | fileprivate var backing: ARC.Server<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PrivateKey' has non-sendable type 'ARC.Server<P384._ARCV1.H2G>' (aka 'ARC.Server<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
39 |
40 | /// Creates a random private key for ARC(P-384).
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:52:12: note: consider making generic struct 'Server' conform to the 'Sendable' protocol
50 | }
51 |
52 | struct Server<H2G: HashToGroup> {
| `- note: consider making generic struct 'Server' conform to the 'Sendable' protocol
53 | typealias Group = H2G.G
54 | let serverPrivateKey: ServerPrivateKey<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:108:25: warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
106 | /// The server public key, used by clients to create anonymous credentials in conjunction with the server.
107 | public struct PublicKey: Sendable {
108 | fileprivate var backing: ARC.ServerPublicKey<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'PublicKey' has non-sendable type 'ARC.ServerPublicKey<P384._ARCV1.H2G>' (aka 'ARC.ServerPublicKey<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
109 |
110 | fileprivate init(backing: ARC.ServerPublicKey<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCServer.swift:33:12: note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct ServerPublicKey<H2G: HashToGroup> {
| `- note: consider making generic struct 'ServerPublicKey' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let X0: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:165:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
163 | /// Servers should reconstruct values of this type from the serialized bytes sent by the client.
164 | public struct CredentialRequest: Sendable {
165 | var backing: ARC.CredentialRequest<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialRequest' has non-sendable type 'ARC.CredentialRequest<P384._ARCV1.H2G>' (aka 'ARC.CredentialRequest<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
166 |
167 | fileprivate init(backing: ARC.CredentialRequest<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCRequest.swift:23:12: note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
21 | /// 1. `m1Enc = m1 * G + r1 * H`, for private attribute `m1` and random request blinding `r1`
22 | /// 2. `m2Enc = m2 * G + r2 * H`, for private attribute `m2` and random request blinding `r2`
23 | struct CredentialRequest<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialRequest' conform to the 'Sendable' protocol
24 | typealias Group = H2G.G
25 | let m1Enc: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:186:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
184 | /// This backing type binds many things together, including the server commitments, client secrets, credential
185 | /// request, and presentation limit.
186 | internal var backing: ARC.Precredential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Precredential' has non-sendable type 'ARC.Precredential<P384._ARCV1.H2G>' (aka 'ARC.Precredential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
187 |
188 | /// The credential request to be sent to the server.
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPrecredential.swift:33:12: note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
31 | }
32 |
33 | struct Precredential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Precredential' conform to the 'Sendable' protocol
34 | typealias Group = H2G.G
35 | let clientSecrets: ClientSecrets<Group.Scalar>
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:200:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
198 | /// Clients should reconstruct values of this type from the serialized bytes sent by the server.
199 | public struct CredentialResponse: Sendable {
200 | var backing: ARC.CredentialResponse<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'CredentialResponse' has non-sendable type 'ARC.CredentialResponse<P384._ARCV1.H2G>' (aka 'ARC.CredentialResponse<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
201 |
202 | fileprivate init(backing: ARC.CredentialResponse<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCResponse.swift:35:12: note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
33 | /// 7. `U = b * generatorG`
34 | /// 8. `encUPrime = b * (X0 + x1 * Enc(m1) + x2 * Enc(m2))`
35 | struct CredentialResponse<H2G: HashToGroup> {
| `- note: consider making generic struct 'CredentialResponse' conform to the 'Sendable' protocol
36 | typealias Group = H2G.G
37 | let U: Group.Element
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:220:13: warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
218 | /// Users cannot create values of this type manually; they are created using the issue method on the public key.
219 | public struct Credential: Sendable {
220 | var backing: ARC.Credential<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Credential' has non-sendable type 'ARC.Credential<P384._ARCV1.H2G>' (aka 'ARC.Credential<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
221 |
222 | fileprivate init(backing: ARC.Credential<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCCredential.swift:19:12: note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
17 | @available(macOS 10.15, iOS 13.2, tvOS 13.2, watchOS 6.1, macCatalyst 13.2, visionOS 1.2, *)
18 | extension ARC {
19 | struct Credential<H2G: HashToGroup> {
| `- note: consider making generic struct 'Credential' conform to the 'Sendable' protocol
20 | typealias Group = H2G.G
21 | let m1: Group.Scalar
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARC+API.swift:231:22: warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
229 | /// Users cannot create values of this type manually; they are created using the present method on the credential.
230 | public struct Presentation: Sendable {
231 | internal var backing: ARC.Presentation<H2G>
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'Presentation' has non-sendable type 'ARC.Presentation<P384._ARCV1.H2G>' (aka 'ARC.Presentation<OpenSSLHashToCurve<P384>>'); this is an error in the Swift 6 language mode
232 |
233 | fileprivate init(backing: ARC.Presentation<H2G>) {
/host/spi-builder-workspace/Sources/_CryptoExtras/ARC/ARCPresentation.swift:26:12: note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
24 | /// 3. `H2G(presentationContext) = m1 * tag + nonce * tag`
25 | /// 4. `m1Tag = m1 * tag`
26 | struct Presentation<H2G: HashToGroup> {
| `- note: consider making generic struct 'Presentation' conform to the 'Sendable' protocol
27 | typealias Group = H2G.G
28 | /// Generator over which `m1Commit` commits to `m1`.
[506/536] Compiling _CryptoExtras VOPRFServer.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[507/536] Compiling _CryptoExtras RSA+BlindSigning.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[508/536] Compiling _CryptoExtras RSA.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[509/536] Compiling _CryptoExtras RSA_boring.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[510/536] Compiling _CryptoExtras RSA_security.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[511/536] Compiling _CryptoExtras BoringSSLHelpers.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[512/536] Compiling _CryptoExtras PrettyBytes.swift
[513/536] Compiling _CryptoExtras SubjectPublicKeyInfo.swift
[514/536] Compiling _CryptoExtras DLEQ.swift
[515/536] Compiling _CryptoExtras Prover.swift
[516/536] Compiling _CryptoExtras Verifier.swift
[517/536] Compiling _CryptoExtras ZKPToolbox.swift
[518/536] Compiling _CryptoExtras ARCRequest.swift
[519/536] Compiling _CryptoExtras ARCResponse.swift
[520/536] Compiling _CryptoExtras ARCServer.swift
[521/536] Compiling _CryptoExtras ChaCha20CTR_boring.swift
[522/536] Compiling _CryptoExtras ChaCha20CTR.swift
[523/536] Compiling _CryptoExtras ECToolbox_boring.swift
[524/536] Compiling _CryptoExtras ECToolbox.swift
[525/536] Compiling _CryptoExtras HashToField.swift
[526/536] Compiling _CryptoExtras KDF.swift
[527/536] Compiling _CryptoExtras PBKDF2_boring.swift
[528/536] Compiling _CryptoExtras PBKDF2_commoncrypto.swift
[529/536] Compiling _CryptoExtras PBKDF2.swift
[530/536] Compiling _CryptoExtras Scrypt_boring.swift
[531/536] Compiling _CryptoExtras Scrypt.swift
[532/536] Compiling _CryptoExtras OPRF.swift
[533/536] Compiling _CryptoExtras OPRFClient.swift
[534/536] Compiling _CryptoExtras OPRFServer.swift
[535/536] Compiling _CryptoExtras VOPRF+API.swift
[536/536] Compiling _CryptoExtras VOPRFClient.swift
Build complete! (90.14s)
Build complete.
{
"cxx_language_standard" : "c++14",
"dependencies" : [
{
"identity" : "swift-asn1",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-asn1.git"
}
],
"manifest_display_name" : "swift-crypto",
"name" : "swift-crypto",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Crypto",
"targets" : [
"Crypto"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_CryptoExtras",
"targets" : [
"_CryptoExtras"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "crypto-shasum",
"targets" : [
"crypto-shasum"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "crypto_shasum",
"module_type" : "SwiftTarget",
"name" : "crypto-shasum",
"path" : "Sources/crypto-shasum",
"product_memberships" : [
"crypto-shasum"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Crypto"
],
"type" : "executable"
},
{
"c99name" : "_CryptoExtrasTests",
"module_type" : "SwiftTarget",
"name" : "_CryptoExtrasTests",
"path" : "Tests/_CryptoExtrasTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/_CryptoExtrasTests/ECToolbox/H2CVectors/P256_XMD-SHA-256_SSWU_RO_.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/_CryptoExtrasTests/ECToolbox/H2CVectors/P384_XMD-SHA-384_SSWU_RO_.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/_CryptoExtrasTests/OPRFs/OPRFVectors/OPRFVectors-VOPRFDraft19.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/_CryptoExtrasTests/OPRFs/OPRFVectors/OPRFVectors-VOPRFDraft8.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/_CryptoExtrasTests/OPRFs/OPRFVectors/OPRFVectors-edgecases.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AES Block Function Tests.swift",
"AES-GCM-SIV-Runner.swift",
"AES_CBCTests.swift",
"AES_CFBTests.swift",
"AES_CTRTests.swift",
"ARC/ARCAPITests.swift",
"ARC/ARCEncodingTests.swift",
"ARC/ARCPublicAPITests.swift",
"ARC/ARCTestVectors.swift",
"ARC/ARCTests.swift",
"ChaCha20CTRTests.swift",
"ECToolbox/HashToCurveTests.swift",
"OPRFs/ECVOPRFTests.swift",
"OPRFs/VOPRFAPITests.swift",
"OPRFs/VOPRFPublicAPITests.swift",
"PBKDF2Tests.swift",
"ScryptTests.swift",
"TestRSABlindSigning.swift",
"TestRSABlindSigningAPI.swift",
"TestRSAEncryption.swift",
"TestRSASigning.swift",
"Util/IntegerEncodingTests.swift",
"Utils/BytesUtil.swift",
"Utils/RFCVector.swift",
"Utils/SplitData.swift",
"Utils/Wycheproof.swift",
"Utils/XCTestUtils.swift",
"ZKPs/ZKPToolbox.swift"
],
"target_dependencies" : [
"_CryptoExtras"
],
"type" : "test"
},
{
"c99name" : "_CryptoExtras",
"module_type" : "SwiftTarget",
"name" : "_CryptoExtras",
"path" : "Sources/_CryptoExtras",
"product_dependencies" : [
"SwiftASN1"
],
"product_memberships" : [
"_CryptoExtras"
],
"sources" : [
"AES/AES_CBC.swift",
"AES/AES_CFB.swift",
"AES/AES_CTR.swift",
"AES/AES_GCM_SIV.swift",
"AES/Block Function.swift",
"AES/BoringSSL/AES_CFB_boring.swift",
"AES/BoringSSL/AES_CTR_boring.swift",
"AES/BoringSSL/AES_GCM_SIV_boring.swift",
"ARC/ARC+API.swift",
"ARC/ARC.swift",
"ARC/ARCCredential.swift",
"ARC/ARCEncoding.swift",
"ARC/ARCPrecredential.swift",
"ARC/ARCPresentation.swift",
"ARC/ARCRequest.swift",
"ARC/ARCResponse.swift",
"ARC/ARCServer.swift",
"ChaCha20CTR/BoringSSL/ChaCha20CTR_boring.swift",
"ChaCha20CTR/ChaCha20CTR.swift",
"ECToolbox/BoringSSL/ECToolbox_boring.swift",
"ECToolbox/ECToolbox.swift",
"H2G/HashToField.swift",
"Key Derivation/KDF.swift",
"Key Derivation/PBKDF2/BoringSSL/PBKDF2_boring.swift",
"Key Derivation/PBKDF2/BoringSSL/PBKDF2_commoncrypto.swift",
"Key Derivation/PBKDF2/PBKDF2.swift",
"Key Derivation/Scrypt/BoringSSL/Scrypt_boring.swift",
"Key Derivation/Scrypt/Scrypt.swift",
"OPRFs/OPRF.swift",
"OPRFs/OPRFClient.swift",
"OPRFs/OPRFServer.swift",
"OPRFs/VOPRF+API.swift",
"OPRFs/VOPRFClient.swift",
"OPRFs/VOPRFServer.swift",
"RSA/RSA+BlindSigning.swift",
"RSA/RSA.swift",
"RSA/RSA_boring.swift",
"RSA/RSA_security.swift",
"Util/BoringSSLHelpers.swift",
"Util/CryptoKitErrors_boring.swift",
"Util/DigestType.swift",
"Util/Error.swift",
"Util/I2OSP.swift",
"Util/IntegerEncoding.swift",
"Util/PEMDocument.swift",
"Util/PrettyBytes.swift",
"Util/SubjectPublicKeyInfo.swift",
"ZKPs/DLEQ.swift",
"ZKPs/Prover.swift",
"ZKPs/Verifier.swift",
"ZKPs/ZKPToolbox.swift"
],
"target_dependencies" : [
"CCryptoBoringSSL",
"CCryptoBoringSSLShims",
"CryptoBoringWrapper",
"Crypto"
],
"type" : "library"
},
{
"c99name" : "CryptoTests",
"module_type" : "SwiftTarget",
"name" : "CryptoTests",
"path" : "Tests/CryptoTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/CryptoTests/HPKE/hpke-test-vectors.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ASN1/ASN1Tests.swift",
"ASN1/GeneralizedTimeTests.swift",
"Authenticated Encryption/AES-GCM-Runner.swift",
"Authenticated Encryption/ChaChaPoly-Runner.swift",
"Digests/DigestsTests.swift",
"ECDH/BoringSSL/ASN1.swift",
"ECDH/BoringSSL/secpECDH_Runner_boring.swift",
"ECDH/X25519-Runner.swift",
"ECDH/secpECDH_Runner.swift",
"Encodings/BoringSSL/DERTests_boring.swift",
"Encodings/DERTests.swift",
"Encodings/ECKeyEncodingsTests.swift",
"HPKE/HPKETests-TestVectors.swift",
"HPKE/HPKETests.swift",
"Key Derivation/ECprivateKeysFromSeeds.swift",
"Key Derivation/HKDFTests.swift",
"Key Derivation/SharedSecretTests.swift",
"Key Derivation/X963KDFTests.swift",
"Key Wrapping/KeyWrapping.swift",
"MAC/HMACTests.swift",
"SecureBytes/SecureBytesTests.swift",
"Signatures/ECDSA/ECDSASignatureTests.swift",
"Signatures/ECDSA/RawECDSASignaturesTests.swift",
"Signatures/EdDSA/Ed25519-Runner.swift",
"Utils/PrettyBytes.swift",
"Utils/RFCVector.swift",
"Utils/SplitData.swift",
"Utils/Wycheproof.swift",
"Utils/XCTestUtils.swift"
],
"target_dependencies" : [
"Crypto"
],
"type" : "test"
},
{
"c99name" : "CryptoBoringWrapperTests",
"module_type" : "SwiftTarget",
"name" : "CryptoBoringWrapperTests",
"path" : "Tests/CryptoBoringWrapperTests",
"sources" : [
"ArbitraryPrecisionIntegerTests.swift",
"FiniteFieldArithmeticTests.swift"
],
"target_dependencies" : [
"CryptoBoringWrapper"
],
"type" : "test"
},
{
"c99name" : "CryptoBoringWrapper",
"module_type" : "SwiftTarget",
"name" : "CryptoBoringWrapper",
"path" : "Sources/CryptoBoringWrapper",
"product_memberships" : [
"Crypto",
"_CryptoExtras",
"crypto-shasum"
],
"sources" : [
"AEAD/BoringSSLAEAD.swift",
"CryptoKitErrors_boring.swift",
"EC/EllipticCurve.swift",
"EC/EllipticCurvePoint.swift",
"Util/ArbitraryPrecisionInteger.swift",
"Util/FiniteFieldArithmeticContext.swift",
"Util/RandomBytes.swift"
],
"target_dependencies" : [
"CCryptoBoringSSL",
"CCryptoBoringSSLShims"
],
"type" : "library"
},
{
"c99name" : "Crypto",
"module_type" : "SwiftTarget",
"name" : "Crypto",
"path" : "Sources/Crypto",
"product_memberships" : [
"Crypto",
"_CryptoExtras",
"crypto-shasum"
],
"sources" : [
"AEADs/AES/GCM/AES-GCM.swift",
"AEADs/AES/GCM/BoringSSL/AES-GCM_boring.swift",
"AEADs/ChachaPoly/BoringSSL/ChaChaPoly_boring.swift",
"AEADs/ChachaPoly/ChaChaPoly.swift",
"AEADs/Cipher.swift",
"AEADs/Nonces.swift",
"ASN1/ASN1.swift",
"ASN1/Basic ASN1 Types/ASN1Any.swift",
"ASN1/Basic ASN1 Types/ASN1BitString.swift",
"ASN1/Basic ASN1 Types/ASN1Boolean.swift",
"ASN1/Basic ASN1 Types/ASN1Identifier.swift",
"ASN1/Basic ASN1 Types/ASN1Integer.swift",
"ASN1/Basic ASN1 Types/ASN1Null.swift",
"ASN1/Basic ASN1 Types/ASN1OctetString.swift",
"ASN1/Basic ASN1 Types/ASN1Strings.swift",
"ASN1/Basic ASN1 Types/ArraySliceBigint.swift",
"ASN1/Basic ASN1 Types/GeneralizedTime.swift",
"ASN1/Basic ASN1 Types/ObjectIdentifier.swift",
"ASN1/ECDSASignature.swift",
"ASN1/PEMDocument.swift",
"ASN1/PKCS8PrivateKey.swift",
"ASN1/SEC1PrivateKey.swift",
"ASN1/SubjectPublicKeyInfo.swift",
"CryptoKitErrors.swift",
"Digests/BoringSSL/Digest_boring.swift",
"Digests/Digest.swift",
"Digests/Digests.swift",
"Digests/HashFunctions.swift",
"Digests/HashFunctions_SHA2.swift",
"HPKE/Ciphersuite/HPKE-AEAD.swift",
"HPKE/Ciphersuite/HPKE-Ciphersuite.swift",
"HPKE/Ciphersuite/HPKE-KDF.swift",
"HPKE/Ciphersuite/HPKE-KexKeyDerivation.swift",
"HPKE/Ciphersuite/HPKE-LabeledExtract.swift",
"HPKE/Ciphersuite/HPKE-Utils.swift",
"HPKE/Ciphersuite/KEM/Conformances/DHKEM.swift",
"HPKE/Ciphersuite/KEM/Conformances/HPKE-KEM-Curve25519.swift",
"HPKE/Ciphersuite/KEM/Conformances/HPKE-NIST-EC-KEMs.swift",
"HPKE/Ciphersuite/KEM/HPKE-KEM.swift",
"HPKE/HPKE-Errors.swift",
"HPKE/HPKE.swift",
"HPKE/Key Schedule/HPKE-Context.swift",
"HPKE/Key Schedule/HPKE-KeySchedule.swift",
"HPKE/Modes/HPKE-Modes.swift",
"Insecure/Insecure.swift",
"Insecure/Insecure_HashFunctions.swift",
"KEM/KEM.swift",
"Key Agreement/BoringSSL/ECDH_boring.swift",
"Key Agreement/DH.swift",
"Key Agreement/ECDH.swift",
"Key Derivation/HKDF.swift",
"Key Wrapping/AESWrap.swift",
"Key Wrapping/BoringSSL/AESWrap_boring.swift",
"Keys/EC/BoringSSL/Ed25519_boring.swift",
"Keys/EC/BoringSSL/NISTCurvesKeys_boring.swift",
"Keys/EC/BoringSSL/X25519Keys_boring.swift",
"Keys/EC/Curve25519.swift",
"Keys/EC/Ed25519Keys.swift",
"Keys/EC/NISTCurvesKeys.swift",
"Keys/EC/X25519Keys.swift",
"Keys/Symmetric/SymmetricKeys.swift",
"Message Authentication Codes/HMAC/HMAC.swift",
"Message Authentication Codes/MACFunctions.swift",
"Message Authentication Codes/MessageAuthenticationCode.swift",
"PRF/AES.swift",
"Signatures/BoringSSL/ECDSASignature_boring.swift",
"Signatures/BoringSSL/ECDSA_boring.swift",
"Signatures/BoringSSL/EdDSA_boring.swift",
"Signatures/ECDSA.swift",
"Signatures/Ed25519.swift",
"Signatures/Signature.swift",
"Util/BoringSSL/CryptoKitErrors_boring.swift",
"Util/BoringSSL/RNG_boring.swift",
"Util/BoringSSL/SafeCompare_boring.swift",
"Util/BoringSSL/Zeroization_boring.swift",
"Util/PrettyBytes.swift",
"Util/SafeCompare.swift",
"Util/SecureBytes.swift",
"Util/Zeroization.swift"
],
"target_dependencies" : [
"CCryptoBoringSSL",
"CCryptoBoringSSLShims",
"CryptoBoringWrapper"
],
"type" : "library"
},
{
"c99name" : "CCryptoBoringSSLShims",
"module_type" : "ClangTarget",
"name" : "CCryptoBoringSSLShims",
"path" : "Sources/CCryptoBoringSSLShims",
"product_memberships" : [
"Crypto",
"_CryptoExtras",
"crypto-shasum"
],
"sources" : [
"shims.c"
],
"target_dependencies" : [
"CCryptoBoringSSL"
],
"type" : "library"
},
{
"c99name" : "CCryptoBoringSSL",
"module_type" : "ClangTarget",
"name" : "CCryptoBoringSSL",
"path" : "Sources/CCryptoBoringSSL",
"product_memberships" : [
"Crypto",
"_CryptoExtras",
"crypto-shasum"
],
"sources" : [
"crypto/asn1/a_bitstr.cc",
"crypto/asn1/a_bool.cc",
"crypto/asn1/a_d2i_fp.cc",
"crypto/asn1/a_dup.cc",
"crypto/asn1/a_gentm.cc",
"crypto/asn1/a_i2d_fp.cc",
"crypto/asn1/a_int.cc",
"crypto/asn1/a_mbstr.cc",
"crypto/asn1/a_object.cc",
"crypto/asn1/a_octet.cc",
"crypto/asn1/a_strex.cc",
"crypto/asn1/a_strnid.cc",
"crypto/asn1/a_time.cc",
"crypto/asn1/a_type.cc",
"crypto/asn1/a_utctm.cc",
"crypto/asn1/asn1_lib.cc",
"crypto/asn1/asn1_par.cc",
"crypto/asn1/asn_pack.cc",
"crypto/asn1/f_int.cc",
"crypto/asn1/f_string.cc",
"crypto/asn1/posix_time.cc",
"crypto/asn1/tasn_dec.cc",
"crypto/asn1/tasn_enc.cc",
"crypto/asn1/tasn_fre.cc",
"crypto/asn1/tasn_new.cc",
"crypto/asn1/tasn_typ.cc",
"crypto/asn1/tasn_utl.cc",
"crypto/base64/base64.cc",
"crypto/bio/bio.cc",
"crypto/bio/bio_mem.cc",
"crypto/bio/errno.cc",
"crypto/bio/fd.cc",
"crypto/bio/file.cc",
"crypto/bio/hexdump.cc",
"crypto/bio/pair.cc",
"crypto/bio/printf.cc",
"crypto/blake2/blake2.cc",
"crypto/bn_extra/bn_asn1.cc",
"crypto/bn_extra/convert.cc",
"crypto/buf/buf.cc",
"crypto/bytestring/asn1_compat.cc",
"crypto/bytestring/ber.cc",
"crypto/bytestring/cbb.cc",
"crypto/bytestring/cbs.cc",
"crypto/bytestring/unicode.cc",
"crypto/chacha/chacha.cc",
"crypto/cipher_extra/cipher_extra.cc",
"crypto/cipher_extra/derive_key.cc",
"crypto/cipher_extra/e_aesctrhmac.cc",
"crypto/cipher_extra/e_aesgcmsiv.cc",
"crypto/cipher_extra/e_chacha20poly1305.cc",
"crypto/cipher_extra/e_des.cc",
"crypto/cipher_extra/e_null.cc",
"crypto/cipher_extra/e_rc2.cc",
"crypto/cipher_extra/e_rc4.cc",
"crypto/cipher_extra/e_tls.cc",
"crypto/cipher_extra/tls_cbc.cc",
"crypto/conf/conf.cc",
"crypto/cpu_aarch64_apple.cc",
"crypto/cpu_aarch64_fuchsia.cc",
"crypto/cpu_aarch64_linux.cc",
"crypto/cpu_aarch64_openbsd.cc",
"crypto/cpu_aarch64_sysreg.cc",
"crypto/cpu_aarch64_win.cc",
"crypto/cpu_arm_freebsd.cc",
"crypto/cpu_arm_linux.cc",
"crypto/cpu_intel.cc",
"crypto/crypto.cc",
"crypto/curve25519/asm/x25519-asm-arm.S",
"crypto/curve25519/curve25519.cc",
"crypto/curve25519/curve25519_64_adx.cc",
"crypto/curve25519/spake25519.cc",
"crypto/des/des.cc",
"crypto/dh_extra/dh_asn1.cc",
"crypto/dh_extra/params.cc",
"crypto/digest_extra/digest_extra.cc",
"crypto/dsa/dsa.cc",
"crypto/dsa/dsa_asn1.cc",
"crypto/ec_extra/ec_asn1.cc",
"crypto/ec_extra/ec_derive.cc",
"crypto/ec_extra/hash_to_curve.cc",
"crypto/ecdh_extra/ecdh_extra.cc",
"crypto/ecdsa_extra/ecdsa_asn1.cc",
"crypto/engine/engine.cc",
"crypto/err/err.cc",
"crypto/evp/evp.cc",
"crypto/evp/evp_asn1.cc",
"crypto/evp/evp_ctx.cc",
"crypto/evp/p_dh.cc",
"crypto/evp/p_dh_asn1.cc",
"crypto/evp/p_dsa_asn1.cc",
"crypto/evp/p_ec.cc",
"crypto/evp/p_ec_asn1.cc",
"crypto/evp/p_ed25519.cc",
"crypto/evp/p_ed25519_asn1.cc",
"crypto/evp/p_hkdf.cc",
"crypto/evp/p_rsa.cc",
"crypto/evp/p_rsa_asn1.cc",
"crypto/evp/p_x25519.cc",
"crypto/evp/p_x25519_asn1.cc",
"crypto/evp/pbkdf.cc",
"crypto/evp/print.cc",
"crypto/evp/scrypt.cc",
"crypto/evp/sign.cc",
"crypto/ex_data.cc",
"crypto/fipsmodule/bcm.cc",
"crypto/fipsmodule/fips_shared_support.cc",
"crypto/hpke/hpke.cc",
"crypto/hrss/asm/poly_rq_mul.S",
"crypto/hrss/hrss.cc",
"crypto/kyber/kyber.cc",
"crypto/lhash/lhash.cc",
"crypto/md4/md4.cc",
"crypto/md5/md5.cc",
"crypto/mem.cc",
"crypto/mldsa/mldsa.cc",
"crypto/mlkem/mlkem.cc",
"crypto/obj/obj.cc",
"crypto/obj/obj_xref.cc",
"crypto/pem/pem_all.cc",
"crypto/pem/pem_info.cc",
"crypto/pem/pem_lib.cc",
"crypto/pem/pem_oth.cc",
"crypto/pem/pem_pk8.cc",
"crypto/pem/pem_pkey.cc",
"crypto/pem/pem_x509.cc",
"crypto/pem/pem_xaux.cc",
"crypto/pkcs7/pkcs7.cc",
"crypto/pkcs7/pkcs7_x509.cc",
"crypto/pkcs8/p5_pbev2.cc",
"crypto/pkcs8/pkcs8.cc",
"crypto/pkcs8/pkcs8_x509.cc",
"crypto/poly1305/poly1305.cc",
"crypto/poly1305/poly1305_arm.cc",
"crypto/poly1305/poly1305_arm_asm.S",
"crypto/poly1305/poly1305_vec.cc",
"crypto/pool/pool.cc",
"crypto/rand_extra/deterministic.cc",
"crypto/rand_extra/fork_detect.cc",
"crypto/rand_extra/forkunsafe.cc",
"crypto/rand_extra/getentropy.cc",
"crypto/rand_extra/ios.cc",
"crypto/rand_extra/passive.cc",
"crypto/rand_extra/rand_extra.cc",
"crypto/rand_extra/trusty.cc",
"crypto/rand_extra/urandom.cc",
"crypto/rand_extra/windows.cc",
"crypto/rc4/rc4.cc",
"crypto/refcount.cc",
"crypto/rsa_extra/rsa_asn1.cc",
"crypto/rsa_extra/rsa_crypt.cc",
"crypto/rsa_extra/rsa_extra.cc",
"crypto/rsa_extra/rsa_print.cc",
"crypto/sha/sha1.cc",
"crypto/sha/sha256.cc",
"crypto/sha/sha512.cc",
"crypto/siphash/siphash.cc",
"crypto/slhdsa/fors.cc",
"crypto/slhdsa/merkle.cc",
"crypto/slhdsa/slhdsa.cc",
"crypto/slhdsa/thash.cc",
"crypto/slhdsa/wots.cc",
"crypto/stack/stack.cc",
"crypto/thread.cc",
"crypto/thread_none.cc",
"crypto/thread_pthread.cc",
"crypto/thread_win.cc",
"crypto/trust_token/pmbtoken.cc",
"crypto/trust_token/trust_token.cc",
"crypto/trust_token/voprf.cc",
"crypto/x509/a_digest.cc",
"crypto/x509/a_sign.cc",
"crypto/x509/a_verify.cc",
"crypto/x509/algorithm.cc",
"crypto/x509/asn1_gen.cc",
"crypto/x509/by_dir.cc",
"crypto/x509/by_file.cc",
"crypto/x509/i2d_pr.cc",
"crypto/x509/name_print.cc",
"crypto/x509/policy.cc",
"crypto/x509/rsa_pss.cc",
"crypto/x509/t_crl.cc",
"crypto/x509/t_req.cc",
"crypto/x509/t_x509.cc",
"crypto/x509/t_x509a.cc",
"crypto/x509/v3_akey.cc",
"crypto/x509/v3_akeya.cc",
"crypto/x509/v3_alt.cc",
"crypto/x509/v3_bcons.cc",
"crypto/x509/v3_bitst.cc",
"crypto/x509/v3_conf.cc",
"crypto/x509/v3_cpols.cc",
"crypto/x509/v3_crld.cc",
"crypto/x509/v3_enum.cc",
"crypto/x509/v3_extku.cc",
"crypto/x509/v3_genn.cc",
"crypto/x509/v3_ia5.cc",
"crypto/x509/v3_info.cc",
"crypto/x509/v3_int.cc",
"crypto/x509/v3_lib.cc",
"crypto/x509/v3_ncons.cc",
"crypto/x509/v3_ocsp.cc",
"crypto/x509/v3_pcons.cc",
"crypto/x509/v3_pmaps.cc",
"crypto/x509/v3_prn.cc",
"crypto/x509/v3_purp.cc",
"crypto/x509/v3_skey.cc",
"crypto/x509/v3_utl.cc",
"crypto/x509/x509.cc",
"crypto/x509/x509_att.cc",
"crypto/x509/x509_cmp.cc",
"crypto/x509/x509_d2.cc",
"crypto/x509/x509_def.cc",
"crypto/x509/x509_ext.cc",
"crypto/x509/x509_lu.cc",
"crypto/x509/x509_obj.cc",
"crypto/x509/x509_req.cc",
"crypto/x509/x509_set.cc",
"crypto/x509/x509_trs.cc",
"crypto/x509/x509_txt.cc",
"crypto/x509/x509_v3.cc",
"crypto/x509/x509_vfy.cc",
"crypto/x509/x509_vpm.cc",
"crypto/x509/x509cset.cc",
"crypto/x509/x509name.cc",
"crypto/x509/x509rset.cc",
"crypto/x509/x509spki.cc",
"crypto/x509/x_algor.cc",
"crypto/x509/x_all.cc",
"crypto/x509/x_attrib.cc",
"crypto/x509/x_crl.cc",
"crypto/x509/x_exten.cc",
"crypto/x509/x_name.cc",
"crypto/x509/x_pubkey.cc",
"crypto/x509/x_req.cc",
"crypto/x509/x_sig.cc",
"crypto/x509/x_spki.cc",
"crypto/x509/x_val.cc",
"crypto/x509/x_x509.cc",
"crypto/x509/x_x509a.cc",
"gen/bcm/aes-gcm-avx10-x86_64-apple.S",
"gen/bcm/aes-gcm-avx10-x86_64-linux.S",
"gen/bcm/aesni-gcm-x86_64-apple.S",
"gen/bcm/aesni-gcm-x86_64-linux.S",
"gen/bcm/aesni-x86-apple.S",
"gen/bcm/aesni-x86-linux.S",
"gen/bcm/aesni-x86_64-apple.S",
"gen/bcm/aesni-x86_64-linux.S",
"gen/bcm/aesv8-armv7-linux.S",
"gen/bcm/aesv8-armv8-apple.S",
"gen/bcm/aesv8-armv8-linux.S",
"gen/bcm/aesv8-armv8-win.S",
"gen/bcm/aesv8-gcm-armv8-apple.S",
"gen/bcm/aesv8-gcm-armv8-linux.S",
"gen/bcm/aesv8-gcm-armv8-win.S",
"gen/bcm/armv4-mont-linux.S",
"gen/bcm/armv8-mont-apple.S",
"gen/bcm/armv8-mont-linux.S",
"gen/bcm/armv8-mont-win.S",
"gen/bcm/bn-586-apple.S",
"gen/bcm/bn-586-linux.S",
"gen/bcm/bn-armv8-apple.S",
"gen/bcm/bn-armv8-linux.S",
"gen/bcm/bn-armv8-win.S",
"gen/bcm/bsaes-armv7-linux.S",
"gen/bcm/co-586-apple.S",
"gen/bcm/co-586-linux.S",
"gen/bcm/ghash-armv4-linux.S",
"gen/bcm/ghash-neon-armv8-apple.S",
"gen/bcm/ghash-neon-armv8-linux.S",
"gen/bcm/ghash-neon-armv8-win.S",
"gen/bcm/ghash-ssse3-x86-apple.S",
"gen/bcm/ghash-ssse3-x86-linux.S",
"gen/bcm/ghash-ssse3-x86_64-apple.S",
"gen/bcm/ghash-ssse3-x86_64-linux.S",
"gen/bcm/ghash-x86-apple.S",
"gen/bcm/ghash-x86-linux.S",
"gen/bcm/ghash-x86_64-apple.S",
"gen/bcm/ghash-x86_64-linux.S",
"gen/bcm/ghashv8-armv7-linux.S",
"gen/bcm/ghashv8-armv8-apple.S",
"gen/bcm/ghashv8-armv8-linux.S",
"gen/bcm/ghashv8-armv8-win.S",
"gen/bcm/p256-armv8-asm-apple.S",
"gen/bcm/p256-armv8-asm-linux.S",
"gen/bcm/p256-armv8-asm-win.S",
"gen/bcm/p256-x86_64-asm-apple.S",
"gen/bcm/p256-x86_64-asm-linux.S",
"gen/bcm/p256_beeu-armv8-asm-apple.S",
"gen/bcm/p256_beeu-armv8-asm-linux.S",
"gen/bcm/p256_beeu-armv8-asm-win.S",
"gen/bcm/p256_beeu-x86_64-asm-apple.S",
"gen/bcm/p256_beeu-x86_64-asm-linux.S",
"gen/bcm/rdrand-x86_64-apple.S",
"gen/bcm/rdrand-x86_64-linux.S",
"gen/bcm/rsaz-avx2-apple.S",
"gen/bcm/rsaz-avx2-linux.S",
"gen/bcm/sha1-586-apple.S",
"gen/bcm/sha1-586-linux.S",
"gen/bcm/sha1-armv4-large-linux.S",
"gen/bcm/sha1-armv8-apple.S",
"gen/bcm/sha1-armv8-linux.S",
"gen/bcm/sha1-armv8-win.S",
"gen/bcm/sha1-x86_64-apple.S",
"gen/bcm/sha1-x86_64-linux.S",
"gen/bcm/sha256-586-apple.S",
"gen/bcm/sha256-586-linux.S",
"gen/bcm/sha256-armv4-linux.S",
"gen/bcm/sha256-armv8-apple.S",
"gen/bcm/sha256-armv8-linux.S",
"gen/bcm/sha256-armv8-win.S",
"gen/bcm/sha256-x86_64-apple.S",
"gen/bcm/sha256-x86_64-linux.S",
"gen/bcm/sha512-586-apple.S",
"gen/bcm/sha512-586-linux.S",
"gen/bcm/sha512-armv4-linux.S",
"gen/bcm/sha512-armv8-apple.S",
"gen/bcm/sha512-armv8-linux.S",
"gen/bcm/sha512-armv8-win.S",
"gen/bcm/sha512-x86_64-apple.S",
"gen/bcm/sha512-x86_64-linux.S",
"gen/bcm/vpaes-armv7-linux.S",
"gen/bcm/vpaes-armv8-apple.S",
"gen/bcm/vpaes-armv8-linux.S",
"gen/bcm/vpaes-armv8-win.S",
"gen/bcm/vpaes-x86-apple.S",
"gen/bcm/vpaes-x86-linux.S",
"gen/bcm/vpaes-x86_64-apple.S",
"gen/bcm/vpaes-x86_64-linux.S",
"gen/bcm/x86-mont-apple.S",
"gen/bcm/x86-mont-linux.S",
"gen/bcm/x86_64-mont-apple.S",
"gen/bcm/x86_64-mont-linux.S",
"gen/bcm/x86_64-mont5-apple.S",
"gen/bcm/x86_64-mont5-linux.S",
"gen/crypto/aes128gcmsiv-x86_64-apple.S",
"gen/crypto/aes128gcmsiv-x86_64-linux.S",
"gen/crypto/chacha-armv4-linux.S",
"gen/crypto/chacha-armv8-apple.S",
"gen/crypto/chacha-armv8-linux.S",
"gen/crypto/chacha-armv8-win.S",
"gen/crypto/chacha-x86-apple.S",
"gen/crypto/chacha-x86-linux.S",
"gen/crypto/chacha-x86_64-apple.S",
"gen/crypto/chacha-x86_64-linux.S",
"gen/crypto/chacha20_poly1305_armv8-apple.S",
"gen/crypto/chacha20_poly1305_armv8-linux.S",
"gen/crypto/chacha20_poly1305_armv8-win.S",
"gen/crypto/chacha20_poly1305_x86_64-apple.S",
"gen/crypto/chacha20_poly1305_x86_64-linux.S",
"gen/crypto/err_data.cc",
"gen/crypto/md5-586-apple.S",
"gen/crypto/md5-586-linux.S",
"gen/crypto/md5-x86_64-apple.S",
"gen/crypto/md5-x86_64-linux.S",
"third_party/fiat/asm/fiat_curve25519_adx_mul.S",
"third_party/fiat/asm/fiat_curve25519_adx_square.S",
"third_party/fiat/asm/fiat_p256_adx_mul.S",
"third_party/fiat/asm/fiat_p256_adx_sqr.S"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/apple/swift-crypto/3.12.3
Repository: apple/swift-crypto
Swift version used: 6.0
Target: Crypto
Extracting symbol information for 'Crypto'...
Finished extracting symbol information for 'Crypto'. (10.51s)
Building documentation for 'Crypto'...
warning: 'AES.GCM.Nonce()' doesn't exist at '/Crypto/AES/GCM/seal(_:using:nonce:authenticating:)'
--> ../AEADs/AES/GCM/AES-GCM.swift:44:142-44:157
42 | /// - message: The plaintext data to seal.
43 | /// - key: A cryptographic key used to seal the message.
44 + /// - nonce: The nonce the sealing process requires. If you don't provide a nonce, the method generates a random one by invoking ``AES.GCM.Nonce()``.
45 | /// - authenticatedData: Additional data to be authenticated.
46 | ///
warning: 'AES.GCM.Nonce()' doesn't exist at '/Crypto/AES/GCM/seal(_:using:nonce:)'
--> ../AEADs/AES/GCM/AES-GCM.swift:59:142-59:157
57 | /// - message: The plaintext data to seal.
58 | /// - key: A cryptographic key used to seal the message.
59 + /// - nonce: The nonce the sealing process requires. If you don't provide a nonce, the method generates a random one by invoking ``AES.GCM.Nonce()``.
60 | ///
61 | /// - Returns: The sealed message.
warning: 'ChaChaPoly.Nonce()' doesn't exist at '/Crypto/ChaChaPoly/seal(_:using:nonce:authenticating:)'
--> ../AEADs/ChachaPoly/ChaChaPoly.swift:42:138-42:156
40 | /// - message: The plaintext data to seal.
41 | /// - key: A cryptographic key used to seal the message.
42 + /// - nonce: The nonce the sealing process requires. If you don't provide a nonce, the method generates a random one by invoking ``ChaChaPoly.Nonce()``.
43 | /// - authenticatedData: Additional data to be authenticated.
44 | ///
warning: 'ChaChaPoly.Nonce()' doesn't exist at '/Crypto/ChaChaPoly/seal(_:using:nonce:)'
--> ../AEADs/ChachaPoly/ChaChaPoly.swift:57:138-57:156
55 | /// - message: The plaintext data to seal.
56 | /// - key: A cryptographic key used to seal the message.
57 + /// - nonce: The nonce the sealing process requires. If you don't provide a nonce, the method generates a random one by invoking ``ChaChaPoly.Nonce()``.
58 | ///
59 | /// - Returns: The sealed message.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/Digests.swift:78:14-78:68
76 | ///
77 | /// This method is part of the digest’s conformance to Swift standard library’s
78 + /// <doc://com.apple.documentation/documentation/swift/hashable> protocol, making
79 | /// it possible to compare digests. Don’t confuse that hashing with the
80 | /// cryptographically secure hashing that you use to create the digest in the
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/Digests.swift:151:14-151:68
149 | ///
150 | /// This method is part of the digest’s conformance to Swift standard library’s
151 + /// <doc://com.apple.documentation/documentation/swift/hashable> protocol, making
152 | /// it possible to compare digests. Don’t confuse that hashing with the
153 | /// cryptographically secure hashing that you use to create the digest in the
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/Digests.swift:226:14-226:68
224 | ///
225 | /// This method is part of the digest’s conformance to Swift standard library’s
226 + /// <doc://com.apple.documentation/documentation/swift/hashable> protocol, making
227 | /// it possible to compare digests. Don’t confuse that hashing with the
228 | /// cryptographically secure hashing that you use to create the digest in the
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/Digests.swift:297:14-297:68
295 | ///
296 | /// This method is part of the digest’s conformance to Swift standard library’s
297 + /// <doc://com.apple.documentation/documentation/swift/hashable> protocol, making
298 | /// it possible to compare digests. Don’t confuse that hashing with the
299 | /// cryptographically secure hashing that you use to create the digest in the
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/Digests.swift:367:14-367:68
365 | ///
366 | /// This method is part of the digest’s conformance to Swift standard library’s
367 + /// <doc://com.apple.documentation/documentation/swift/hashable> protocol, making
368 | /// it possible to compare digests. Don’t confuse that hashing with the
369 | /// cryptographically secure hashing that you use to create the digest in the
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:77:16-77:71
75 | ///
76 | /// - Note: Typically, it’s safer to use an instance of
77 + /// <doc://com.apple.documentation/documentation/foundation/data>, or some
78 | /// other type that conforms to the
79 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:79:16-79:79
77 | /// <doc://com.apple.documentation/documentation/foundation/data>, or some
78 | /// other type that conforms to the
79 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
80 | /// to hold your data. When possible, use the ``HashFunction/update(data:)``
81 | /// method instead.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:125:18-125:81
123 | /// - data: The data whose digest the hash function should compute. This can
124 | /// be any type that conforms to
125 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:125:18-125:81
123 | /// - data: The data whose digest the hash function should compute. This can
124 | /// be any type that conforms to
125 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:125:18-125:81
123 | /// - data: The data whose digest the hash function should compute. This can
124 | /// be any type that conforms to
125 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:125:18-125:81
123 | /// - data: The data whose digest the hash function should compute. This can
124 | /// be any type that conforms to
125 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:125:18-125:81
123 | /// - data: The data whose digest the hash function should compute. This can
124 | /// be any type that conforms to
125 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:125:18-125:81
123 | /// - data: The data whose digest the hash function should compute. This can
124 | /// be any type that conforms to
125 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:126:23-126:78
124 | /// be any type that conforms to
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:126:23-126:78
124 | /// be any type that conforms to
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:126:23-126:78
124 | /// be any type that conforms to
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:126:23-126:78
124 | /// be any type that conforms to
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:126:23-126:78
124 | /// be any type that conforms to
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:126:23-126:78
124 | /// be any type that conforms to
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:127:27-127:78
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
129 | ///
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:127:27-127:78
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
129 | ///
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:127:27-127:78
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
129 | ///
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:127:27-127:78
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
129 | ///
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:127:27-127:78
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
129 | ///
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:127:27-127:78
125 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
126 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
127 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
128 | /// instances.
129 | ///
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:148:18-148:81
146 | /// - data: The next block of data for the ongoing digest calculation. You
147 | /// can provide this as any type that conforms to
148 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:148:18-148:81
146 | /// - data: The next block of data for the ongoing digest calculation. You
147 | /// can provide this as any type that conforms to
148 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:148:18-148:81
146 | /// - data: The next block of data for the ongoing digest calculation. You
147 | /// can provide this as any type that conforms to
148 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:148:18-148:81
146 | /// - data: The next block of data for the ongoing digest calculation. You
147 | /// can provide this as any type that conforms to
148 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:148:18-148:81
146 | /// - data: The next block of data for the ongoing digest calculation. You
147 | /// can provide this as any type that conforms to
148 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:148:18-148:81
146 | /// - data: The next block of data for the ongoing digest calculation. You
147 | /// can provide this as any type that conforms to
148 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:149:23-149:78
147 | /// can provide this as any type that conforms to
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:149:23-149:78
147 | /// can provide this as any type that conforms to
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:149:23-149:78
147 | /// can provide this as any type that conforms to
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:149:23-149:78
147 | /// can provide this as any type that conforms to
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:149:23-149:78
147 | /// can provide this as any type that conforms to
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:149:23-149:78
147 | /// can provide this as any type that conforms to
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 + /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 | /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:150:27-150:78
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
152 | @inlinable
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:150:27-150:78
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
152 | @inlinable
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:150:27-150:78
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
152 | @inlinable
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:150:27-150:78
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
152 | @inlinable
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:150:27-150:78
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
152 | @inlinable
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions.swift:150:27-150:78
148 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
149 | /// like <doc://com.apple.documentation/documentation/foundation/data> or an
150 + /// array of <doc://com.apple.documentation/documentation/swift/uint8>
151 | /// instances.
152 | @inlinable
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions_SHA2.swift:73:16-73:71
71 | ///
72 | /// - Note: Typically, it’s safer to use an instance of
73 + /// <doc://com.apple.documentation/documentation/foundation/data>, or some
74 | /// other type that conforms to the
75 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions_SHA2.swift:75:16-75:79
73 | /// <doc://com.apple.documentation/documentation/foundation/data>, or some
74 | /// other type that conforms to the
75 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
76 | /// to hold your data. When possible, use the ``update(data:)`` method
77 | /// instead.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions_SHA2.swift:157:16-157:71
155 | ///
156 | /// - Note: Typically, it’s safer to use an instance of
157 + /// <doc://com.apple.documentation/documentation/foundation/data>, or some
158 | /// other type that conforms to the
159 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions_SHA2.swift:159:16-159:79
157 | /// <doc://com.apple.documentation/documentation/foundation/data>, or some
158 | /// other type that conforms to the
159 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
160 | /// to hold your data. When possible, use the ``update(data:)`` method
161 | /// instead.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions_SHA2.swift:238:16-238:71
236 | ///
237 | /// - Note: Typically, it’s safer to use an instance of
238 + /// <doc://com.apple.documentation/documentation/foundation/data>, or some
239 | /// other type that conforms to the
240 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Digests/HashFunctions_SHA2.swift:240:16-240:79
238 | /// <doc://com.apple.documentation/documentation/foundation/data>, or some
239 | /// other type that conforms to the
240 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
241 | /// to hold your data. When possible, use the ``update(data:)`` method
242 | /// instead.
warning: 'CryptoKit' doesn't exist at '/Crypto/Curve25519/KeyAgreement/PublicKey/init(_:kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-KEM-Curve25519.swift:43:18-43:27
41 | /// - kem: The key encapsulation mechanism to use with the public key.
42 | ///
43 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
44 | public init<D>(_ serialization: D, kem: HPKE.KEM) throws where D: ContiguousBytes {
45 | try Self.validateCiphersuite(kem)
warning: 'CryptoKit' doesn't exist at '/Crypto/Curve25519/KeyAgreement/PublicKey/hpkeRepresentation(kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-KEM-Curve25519.swift:54:18-54:27
52 | /// - kem: The Key Encapsulation Mechanism to use with the public key.
53 | ///
54 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
55 | ///
56 | /// - Returns: The serialized representation of the public key.
warning: 'CryptoKit' doesn't exist at '/Crypto/P256/KeyAgreement/PublicKey/init(_:kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-NIST-EC-KEMs.swift:49:18-49:27
47 | /// - serialization: The serialized bytes of the public key.
48 | /// - kem: The key encapsulation mechanism to use with the public key.
49 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
50 | public init<D>(_ serialization: D, kem: HPKE.KEM) throws where D: ContiguousBytes {
51 | try Self.validatekem(kem)
warning: 'CryptoKit' doesn't exist at '/Crypto/P256/KeyAgreement/PublicKey/hpkeRepresentation(kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-NIST-EC-KEMs.swift:60:18-60:27
58 | /// - kem: The Key Encapsulation Mechanism to use with the public key.
59 | /// - Returns: The serialized representation of the public key.
60 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
61 | public func hpkeRepresentation(kem: HPKE.KEM) throws -> Data {
62 | try Self.validatekem(kem)
warning: 'CryptoKit' doesn't exist at '/Crypto/P384/KeyAgreement/PublicKey/init(_:kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-NIST-EC-KEMs.swift:100:18-100:27
98 | /// - kem: The Key Encapsulation Mechanism to use with the public key.
99 | ///
100 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
101 | public init<D>(_ serialization: D, kem: HPKE.KEM) throws where D: ContiguousBytes {
102 | try Self.validatekem(kem)
warning: 'CryptoKit' doesn't exist at '/Crypto/P384/KeyAgreement/PublicKey/hpkeRepresentation(kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-NIST-EC-KEMs.swift:113:18-113:27
111 | /// - Returns: The serialized representation of the public key.
112 | ///
113 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
114 | public func hpkeRepresentation(kem: HPKE.KEM) throws -> Data {
115 | try Self.validatekem(kem)
warning: 'CryptoKit' doesn't exist at '/Crypto/P521/KeyAgreement/PublicKey/init(_:kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-NIST-EC-KEMs.swift:150:18-150:27
148 | /// - kem: The Key Encapsulation Mechanism to use with the public key.
149 | ///
150 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
151 | public init<D>(_ serialization: D, kem: HPKE.KEM) throws where D: ContiguousBytes {
152 | try Self.validatekem(kem)
warning: 'CryptoKit' doesn't exist at '/Crypto/P521/KeyAgreement/PublicKey/hpkeRepresentation(kem:)'
--> ../HPKE/Ciphersuite/KEM/Conformances/HPKE-NIST-EC-KEMs.swift:163:18-163:27
161 | /// - Returns: The serialized representation of the public key.
162 | ///
163 + /// - Throws: ``CryptoKit/HPKE/Errors/inconsistentCiphersuiteAndKey`` if the key encapsulation mechanism requested is incompatible with this public key.
164 | public func hpkeRepresentation(kem: HPKE.KEM) throws -> Data {
165 | try Self.validatekem(kem)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Sender/init(recipientKey:ciphersuite:info:)'
--> ../HPKE/HPKE.swift:98:53-98:62
96 | /// - ciphersuite: The cipher suite that defines the cryptographic algorithms to use.
97 | /// - info: Data that the key derivation function uses to compute the symmetric key material. The sender and the recipient need to use the same `info` data.
98 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
99 | public init<PK: HPKEDiffieHellmanPublicKey>(recipientKey: PK, ciphersuite: Ciphersuite, info: Data) throws {
100 | self.context = try Context(senderRoleWithCiphersuite: ciphersuite, mode: .base, psk: nil, pskID: nil, pkR: recipientKey, info: info)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Sender/init(recipientKey:ciphersuite:info:presharedKey:presharedKeyIdentifier:)'
--> ../HPKE/HPKE.swift:117:53-117:62
115 | /// - psk: A preshared key (PSK) that the sender and the recipient both hold.
116 | /// - pskID: An identifier for the PSK.
117 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
118 | public init<PK: HPKEDiffieHellmanPublicKey>(recipientKey: PK, ciphersuite: Ciphersuite, info: Data, presharedKey psk: SymmetricKey, presharedKeyIdentifier pskID: Data) throws {
119 | self.context = try Context(senderRoleWithCiphersuite: ciphersuite, mode: .psk, psk: psk, pskID: pskID, pkR: recipientKey, info: info)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Sender/init(recipientKey:ciphersuite:info:authenticatedBy:)'
--> ../HPKE/HPKE.swift:133:53-133:62
131 | /// - info: Data that the key derivation function uses to compute the symmetric key material. The sender and the recipient need to use the same `info` data.
132 | /// - authenticationKey: The sender's private key for generating the HMAC.
133 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
134 | public init<SK: HPKEDiffieHellmanPrivateKey>(recipientKey: SK.PublicKey, ciphersuite: Ciphersuite, info: Data, authenticatedBy authenticationKey: SK) throws {
135 | self.context = try Context(senderRoleWithCiphersuite: ciphersuite, mode: .auth, psk: nil, pskID: nil, pkR: recipientKey, info: info, skS: authenticationKey)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Sender/init(recipientKey:ciphersuite:info:authenticatedBy:presharedKey:presharedKeyIdentifier:)'
--> ../HPKE/HPKE.swift:153:53-153:62
151 | /// - psk: A preshared key (PSK) that the sender and the recipient both hold.
152 | /// - pskID: An identifier for the PSK.
153 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
154 | public init<SK: HPKEDiffieHellmanPrivateKey>(recipientKey: SK.PublicKey, ciphersuite: Ciphersuite, info: Data, authenticatedBy authenticationKey: SK, presharedKey psk: SymmetricKey, presharedKeyIdentifier pskID: Data) throws {
155 | self.context = try Context(senderRoleWithCiphersuite: ciphersuite, mode: .auth_psk, psk: psk, pskID: pskID, pkR: recipientKey, info: info, skS: authenticationKey)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Sender/seal(_:authenticating:)'
--> ../HPKE/HPKE.swift:168:53-168:62
166 | /// - msg: The cleartext message to encrypt.
167 | /// - aad: Additional data that the `Sender` authenticates and adds to the message in cleartext.
168 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
169 | /// - Returns: The ciphertext for the recipient to decrypt.
170 | public mutating func seal<M: DataProtocol, AD: DataProtocol>(_ msg: M, authenticating aad: AD) throws -> Data {
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Sender/seal(_:)'
--> ../HPKE/HPKE.swift:182:53-182:62
180 | /// - Parameters:
181 | /// - msg: The cleartext message to encrypt.
182 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
183 | /// - Returns: The ciphertext for the recipient to decrypt.
184 | public mutating func seal<M: DataProtocol>(_ msg: M) throws -> Data {
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Recipient/init(privateKey:ciphersuite:info:encapsulatedKey:)'
--> ../HPKE/HPKE.swift:233:53-233:62
231 | /// - info: Data that the key derivation function uses to compute the symmetric key material. The sender and the recipient need to use the same `info` data.
232 | /// - encapsulatedKey: The encapsulated symmetric key that the sender provides.
233 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
234 | public init<SK: HPKEDiffieHellmanPrivateKey>(privateKey: SK, ciphersuite: Ciphersuite, info: Data, encapsulatedKey: Data) throws {
235 | self.context = try Context(recipientRoleWithCiphersuite: ciphersuite, mode: .base, enc: encapsulatedKey, psk: nil, pskID: nil, skR: privateKey, info: info, pkS: nil)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Recipient/init(privateKey:ciphersuite:info:encapsulatedKey:presharedKey:presharedKeyIdentifier:)'
--> ../HPKE/HPKE.swift:250:53-250:62
248 | /// - psk: A preshared key (PSK) that the sender and the recipient both hold.
249 | /// - pskID: An identifier for the PSK.
250 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
251 | public init<SK: HPKEDiffieHellmanPrivateKey>(privateKey: SK, ciphersuite: Ciphersuite, info: Data, encapsulatedKey: Data, presharedKey psk: SymmetricKey, presharedKeyIdentifier pskID: Data) throws {
252 | self.context = try Context(recipientRoleWithCiphersuite: ciphersuite, mode: .psk, enc: encapsulatedKey, psk: psk, pskID: pskID, skR: privateKey, info: info, pkS: nil)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Recipient/init(privateKey:ciphersuite:info:encapsulatedKey:authenticatedBy:)'
--> ../HPKE/HPKE.swift:266:53-266:62
264 | /// - encapsulatedKey: The encapsulated symmetric key that the sender provides.
265 | /// - authenticationKey: The sender's public key for authenticating the messages.
266 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
267 | public init<SK: HPKEDiffieHellmanPrivateKey>(privateKey: SK, ciphersuite: Ciphersuite, info: Data, encapsulatedKey: Data, authenticatedBy authenticationKey: SK.PublicKey) throws {
268 | self.context = try Context(recipientRoleWithCiphersuite: ciphersuite, mode: .auth, enc: encapsulatedKey, psk: nil, pskID: nil, skR: privateKey, info: info, pkS: authenticationKey)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Recipient/init(privateKey:ciphersuite:info:encapsulatedKey:authenticatedBy:presharedKey:presharedKeyIdentifier:)'
--> ../HPKE/HPKE.swift:286:53-286:62
284 | /// - psk: A preshared key (PSK) that the sender and the recipient both hold.
285 | /// - pskID: An identifier for the PSK.
286 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
287 | public init<SK: HPKEDiffieHellmanPrivateKey>(privateKey: SK, ciphersuite: Ciphersuite, info: Data, encapsulatedKey: Data, authenticatedBy authenticationKey: SK.PublicKey, presharedKey psk: SymmetricKey, presharedKeyIdentifier pskID: Data) throws {
288 | self.context = try Context(recipientRoleWithCiphersuite: ciphersuite, mode: .auth_psk, enc: encapsulatedKey, psk: psk, pskID: pskID, skR: privateKey, info: info, pkS: authenticationKey)
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Recipient/open(_:authenticating:)'
--> ../HPKE/HPKE.swift:302:53-302:62
300 | /// - ciphertext: The ciphertext message to decrypt.
301 | /// - aad: Additional cleartext data to authenticate.
302 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
303 | /// - Returns: The resulting cleartext message if the message is authentic.
304 | public mutating func open<C: DataProtocol, AD: DataProtocol>(_ ciphertext: C, authenticating aad: AD) throws -> Data {
warning: 'CryptoKit' doesn't exist at '/Crypto/HPKE/Recipient/open(_:)'
--> ../HPKE/HPKE.swift:316:53-316:62
314 | /// - Parameters:
315 | /// - ciphertext: The ciphertext message to decrypt.
316 + /// - Note: The system throws errors from ``CryptoKit/HPKE/Errors`` when it encounters them.
317 | /// - Returns: The resulting cleartext message if the message is authentic.
318 | public mutating func open<C: DataProtocol>(_ ciphertext: C) throws -> Data {
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Insecure/Insecure_HashFunctions.swift:81:20-81:75
79 | ///
80 | /// - Note: Typically, it’s safer to use an instance of
81 + /// <doc://com.apple.documentation/documentation/foundation/data>, or
82 | /// some other type that conforms to the
83 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Insecure/Insecure_HashFunctions.swift:83:20-83:83
81 | /// <doc://com.apple.documentation/documentation/foundation/data>, or
82 | /// some other type that conforms to the
83 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
84 | /// to hold your data. When possible, use the ``update(data:)`` method
85 | /// instead.
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Insecure/Insecure_HashFunctions.swift:169:20-169:75
167 | ///
168 | /// - Note: Typically, it’s safer to use an instance of
169 + /// <doc://com.apple.documentation/documentation/foundation/data>, or
170 | /// some other type that conforms to the
171 | /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
warning: No external resolver registered for 'com.apple.documentation'.
--> ../Insecure/Insecure_HashFunctions.swift:171:20-171:83
169 | /// <doc://com.apple.documentation/documentation/foundation/data>, or
170 | /// some other type that conforms to the
171 + /// <doc://com.apple.documentation/documentation/foundation/dataprotocol>,
172 | /// to hold your data. When possible, use the ``update(data:)`` method
173 | /// instead.Finished building documentation for 'Crypto' (19.10s)
Generated documentation archive at:
/host/spi-builder-workspace/.docs/apple/swift-crypto/3.12.3
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-asn1.git
Updated https://github.com/apple/swift-asn1.git (0.13s)
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.35s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.1 (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3365] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/53] Emitting module Snippets
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Compiling Snippets Snippet.swift
[8/54] Emitting module SymbolKit
[9/59] Compiling SymbolKit SourceOrigin.swift
[10/59] Compiling SymbolKit GenericConstraints.swift
[11/59] Compiling SymbolKit Swift.swift
[12/59] Compiling SymbolKit SemanticVersion.swift
[13/59] Compiling SymbolKit AccessControl.swift
[14/59] Compiling SymbolKit Availability.swift
[16/59] Compiling SymbolKit FunctionSignature.swift
[17/59] Compiling SymbolKit Identifier.swift
[18/59] Compiling SymbolKit KindIdentifier.swift
[19/59] Compiling SymbolKit Location.swift
[20/59] Compiling SymbolKit Mutability.swift
[21/59] Compiling SymbolKit Names.swift
[21/59] Wrapping AST for Snippets for debugging
[23/59] Compiling SymbolKit Mixin+Equals.swift
[24/59] Compiling SymbolKit Mixin+Hash.swift
[25/59] Compiling SymbolKit Mixin.swift
[26/59] Compiling SymbolKit LineList.swift
[27/59] Compiling SymbolKit Position.swift
[28/59] Compiling SymbolKit SourceRange.swift
[29/59] Compiling SymbolKit AvailabilityItem.swift
[30/59] Compiling SymbolKit Domain.swift
[31/59] Compiling SymbolKit DeclarationFragments.swift
[32/59] Compiling SymbolKit Fragment.swift
[33/59] Compiling SymbolKit FragmentKind.swift
[34/59] Compiling SymbolKit FunctionParameter.swift
[35/59] Compiling SymbolKit Generics.swift
[36/59] Compiling SymbolKit Namespace.swift
[37/59] Compiling SymbolKit Symbol.swift
[38/59] Compiling SymbolKit SymbolKind.swift
[39/59] Compiling SymbolKit SymbolGraph.swift
[40/59] Compiling SymbolKit SPI.swift
[41/59] Compiling SymbolKit Snippet.swift
[42/59] Compiling SymbolKit Extension.swift
[43/59] Compiling SymbolKit GenericConstraint.swift
[44/59] Compiling SymbolKit GenericParameter.swift
[45/59] Compiling SymbolKit Metadata.swift
[46/59] Compiling SymbolKit Module.swift
[47/59] Compiling SymbolKit OperatingSystem.swift
[48/59] Compiling SymbolKit Platform.swift
[49/59] Compiling SymbolKit Relationship.swift
[50/59] Compiling SymbolKit RelationshipKind.swift
[51/59] Compiling SymbolKit GraphCollector.swift
[52/59] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[53/59] Compiling SymbolKit UnifiedSymbol.swift
[54/59] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[55/59] Compiling SymbolKit UnifiedSymbolGraph.swift
[56/60] Wrapping AST for SymbolKit for debugging
[58/64] Compiling snippet_extract URL+Status.swift
[59/64] Compiling snippet_extract SymbolGraph+Snippet.swift
[60/64] Emitting module snippet_extract
[61/64] Compiling snippet_extract SnippetBuildCommand.swift
[62/65] Wrapping AST for snippet-extract for debugging
[63/65] Write Objects.LinkFileList
[64/65] Linking snippet-extract-tool
Build of product 'snippet-extract' complete! (6.48s)
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling CryptoBoringWrapper RandomBytes.swift
[3/9] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[4/9] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[5/9] Emitting module CryptoBoringWrapper
[6/9] Compiling CryptoBoringWrapper EllipticCurve.swift
[7/9] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[8/9] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[9/9] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[11/81] Compiling Crypto HKDF.swift
[12/81] Compiling Crypto AESWrap.swift
[13/81] Compiling Crypto AESWrap_boring.swift
[14/81] Compiling Crypto Ed25519_boring.swift
[15/81] Compiling Crypto NISTCurvesKeys_boring.swift
[16/81] Compiling Crypto X25519Keys_boring.swift
[17/81] Compiling Crypto Curve25519.swift
[18/81] Compiling Crypto Ed25519Keys.swift
[19/81] Compiling Crypto NISTCurvesKeys.swift
[20/81] Compiling Crypto X25519Keys.swift
[21/81] Compiling Crypto HPKE-Ciphersuite.swift
[22/81] Compiling Crypto HPKE-KDF.swift
[23/81] Compiling Crypto HPKE-KexKeyDerivation.swift
[24/81] Compiling Crypto HPKE-LabeledExtract.swift
[25/81] Compiling Crypto HPKE-Utils.swift
[26/81] Compiling Crypto DHKEM.swift
[27/81] Compiling Crypto HPKE-KEM-Curve25519.swift
[28/81] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[29/81] Compiling Crypto HPKE-KEM.swift
[30/81] Compiling Crypto HPKE-Errors.swift
[31/90] Compiling Crypto AES-GCM.swift
[32/90] Compiling Crypto AES-GCM_boring.swift
[33/90] Compiling Crypto ChaChaPoly_boring.swift
[34/90] Compiling Crypto ChaChaPoly.swift
[35/90] Compiling Crypto Cipher.swift
[36/90] Compiling Crypto Nonces.swift
[37/90] Compiling Crypto ASN1.swift
[38/90] Compiling Crypto ASN1Any.swift
[39/90] Compiling Crypto ASN1BitString.swift
[40/90] Compiling Crypto ASN1Boolean.swift
[41/90] Compiling Crypto PKCS8PrivateKey.swift
[42/90] Compiling Crypto SEC1PrivateKey.swift
[43/90] Compiling Crypto SubjectPublicKeyInfo.swift
[44/90] Compiling Crypto CryptoKitErrors.swift
[45/90] Compiling Crypto Digest_boring.swift
[46/90] Compiling Crypto Digest.swift
[47/90] Compiling Crypto Digests.swift
[48/90] Compiling Crypto HashFunctions.swift
[49/90] Compiling Crypto HashFunctions_SHA2.swift
[50/90] Compiling Crypto HPKE-AEAD.swift
[51/90] Emitting module Crypto
[52/90] Compiling Crypto SymmetricKeys.swift
[53/90] Compiling Crypto HMAC.swift
[54/90] Compiling Crypto MACFunctions.swift
[55/90] Compiling Crypto MessageAuthenticationCode.swift
[56/90] Compiling Crypto AES.swift
[57/90] Compiling Crypto ECDSASignature_boring.swift
[58/90] Compiling Crypto ECDSA_boring.swift
[59/90] Compiling Crypto EdDSA_boring.swift
[60/90] Compiling Crypto ECDSA.swift
[61/90] Compiling Crypto Ed25519.swift
[62/90] Compiling Crypto HPKE.swift
[63/90] Compiling Crypto HPKE-Context.swift
[64/90] Compiling Crypto HPKE-KeySchedule.swift
[65/90] Compiling Crypto HPKE-Modes.swift
[66/90] Compiling Crypto Insecure.swift
[67/90] Compiling Crypto Insecure_HashFunctions.swift
[68/90] Compiling Crypto KEM.swift
[69/90] Compiling Crypto ECDH_boring.swift
[70/90] Compiling Crypto DH.swift
[71/90] Compiling Crypto ECDH.swift
[72/90] Compiling Crypto ASN1Identifier.swift
[73/90] Compiling Crypto ASN1Integer.swift
[74/90] Compiling Crypto ASN1Null.swift
[75/90] Compiling Crypto ASN1OctetString.swift
[76/90] Compiling Crypto ASN1Strings.swift
[77/90] Compiling Crypto ArraySliceBigint.swift
[78/90] Compiling Crypto GeneralizedTime.swift
[79/90] Compiling Crypto ObjectIdentifier.swift
[80/90] Compiling Crypto ECDSASignature.swift
[81/90] Compiling Crypto PEMDocument.swift
[82/90] Compiling Crypto Signature.swift
[83/90] Compiling Crypto CryptoKitErrors_boring.swift
[84/90] Compiling Crypto RNG_boring.swift
[85/90] Compiling Crypto SafeCompare_boring.swift
[86/90] Compiling Crypto Zeroization_boring.swift
[87/90] Compiling Crypto PrettyBytes.swift
[88/90] Compiling Crypto SafeCompare.swift
[89/90] Compiling Crypto SecureBytes.swift
[90/90] Compiling Crypto Zeroization.swift
Build of target: 'Crypto' complete! (7.56s)
Target: _CryptoExtras
Extracting symbol information for '_CryptoExtras'...
Finished extracting symbol information for '_CryptoExtras'. (42.94s)
Building documentation for '_CryptoExtras'...
Finished building documentation for '_CryptoExtras' (2.99s)
Generated documentation archive at:
/host/spi-builder-workspace/.docs/apple/swift-crypto/3.12.3
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build of product 'snippet-extract' complete! (1.92s)
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling SwiftASN1 TimeUtilities.swift
[3/18] Compiling SwiftASN1 UTCTime.swift
[4/20] Compiling SwiftASN1 ASN1BitString.swift
[5/20] Compiling SwiftASN1 ASN1Boolean.swift
[6/20] Compiling SwiftASN1 ASN1Identifier.swift
[7/20] Compiling SwiftASN1 ASN1Integer.swift
[8/20] Compiling SwiftASN1 ASN1Null.swift
[9/20] Compiling SwiftASN1 ArraySliceBigint.swift
[10/20] Compiling SwiftASN1 GeneralizedTime.swift
[11/20] Compiling SwiftASN1 ObjectIdentifier.swift
[12/20] Compiling SwiftASN1 PEMDocument.swift
[13/20] Compiling SwiftASN1 ASN1OctetString.swift
[14/20] Compiling SwiftASN1 ASN1Strings.swift
[15/20] Compiling SwiftASN1 ASN1.swift
[16/20] Compiling SwiftASN1 BER.swift
[17/20] Compiling SwiftASN1 ASN1Any.swift
[18/20] Compiling SwiftASN1 DER.swift
[19/20] Compiling SwiftASN1 Errors.swift
[20/20] Emitting module SwiftASN1
[22/67] Compiling _CryptoExtras CryptoKitErrors_boring.swift
[23/67] Compiling _CryptoExtras DigestType.swift
[24/67] Compiling _CryptoExtras Error.swift
[25/67] Compiling _CryptoExtras I2OSP.swift
[26/67] Compiling _CryptoExtras IntegerEncoding.swift
[27/67] Compiling _CryptoExtras PEMDocument.swift
[28/73] Compiling _CryptoExtras HashToField.swift
[29/73] Compiling _CryptoExtras KDF.swift
[30/73] Compiling _CryptoExtras PBKDF2_boring.swift
[31/73] Compiling _CryptoExtras PBKDF2_commoncrypto.swift
[32/73] Compiling _CryptoExtras PBKDF2.swift
[33/73] Compiling _CryptoExtras Scrypt_boring.swift
[34/73] Compiling _CryptoExtras AES_CBC.swift
[35/73] Compiling _CryptoExtras AES_CFB.swift
[36/73] Compiling _CryptoExtras AES_CTR.swift
[37/73] Compiling _CryptoExtras AES_GCM_SIV.swift
[38/73] Compiling _CryptoExtras Block Function.swift
[39/73] Compiling _CryptoExtras AES_CFB_boring.swift
[40/73] Compiling _CryptoExtras AES_CTR_boring.swift
[41/73] Emitting module _CryptoExtras
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
[42/73] Compiling _CryptoExtras VOPRFServer.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[43/73] Compiling _CryptoExtras RSA+BlindSigning.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[44/73] Compiling _CryptoExtras RSA.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[45/73] Compiling _CryptoExtras RSA_boring.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[46/73] Compiling _CryptoExtras RSA_security.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[47/73] Compiling _CryptoExtras BoringSSLHelpers.swift
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:24:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
22 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
23 | internal struct BoringSSLRSAPublicKey: Sendable {
24 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPublicKey' has non-sendable type 'BoringSSLRSAPublicKey.Backing'; this is an error in the Swift 6 language mode
25 |
26 | init(pemRepresentation: String) throws {
:
183 | extension BoringSSLRSAPublicKey {
184 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
185 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
186 | private let pointer: OpaquePointer
187 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:73:17: warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
71 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
72 | internal struct BoringSSLRSAPrivateKey: Sendable {
73 | private var backing: Backing
| `- warning: stored property 'backing' of 'Sendable'-conforming struct 'BoringSSLRSAPrivateKey' has non-sendable type 'BoringSSLRSAPrivateKey.Backing'; this is an error in the Swift 6 language mode
74 |
75 | init(pemRepresentation: String) throws {
:
554 | extension BoringSSLRSAPrivateKey {
555 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
556 | fileprivate final class Backing {
| `- note: class 'Backing' does not conform to the 'Sendable' protocol
557 | private let pointer: OpaquePointer
558 |
/host/spi-builder-workspace/Sources/_CryptoExtras/RSA/RSA_boring.swift:67:9: warning: no calls to throwing functions occur within 'try' expression
65 |
66 | func getKeyPrimitives() throws -> (n: Data, e: Data) {
67 | try self.backing.getKeyPrimitives()
| `- warning: no calls to throwing functions occur within 'try' expression
68 | }
69 | }
[48/73] Compiling _CryptoExtras PrettyBytes.swift
[49/73] Compiling _CryptoExtras SubjectPublicKeyInfo.swift
[50/73] Compiling _CryptoExtras DLEQ.swift
[51/73] Compiling _CryptoExtras Prover.swift
[52/73] Compiling _CryptoExtras Verifier.swift
[53/73] Compiling _CryptoExtras ZKPToolbox.swift
[54/73] Compiling _CryptoExtras ARCRequest.swift
[55/73] Compiling _CryptoExtras ARCResponse.swift
[56/73] Compiling _CryptoExtras ARCServer.swift
[57/73] Compiling _CryptoExtras ChaCha20CTR_boring.swift
[58/73] Compiling _CryptoExtras ChaCha20CTR.swift
[59/73] Compiling _CryptoExtras ECToolbox_boring.swift
[60/73] Compiling _CryptoExtras ECToolbox.swift
[61/73] Compiling _CryptoExtras Scrypt.swift
[62/73] Compiling _CryptoExtras OPRF.swift
[63/73] Compiling _CryptoExtras OPRFClient.swift
[64/73] Compiling _CryptoExtras OPRFServer.swift
[65/73] Compiling _CryptoExtras VOPRF+API.swift
[66/73] Compiling _CryptoExtras VOPRFClient.swift
[67/73] Compiling _CryptoExtras AES_GCM_SIV_boring.swift
[68/73] Compiling _CryptoExtras ARC+API.swift
[69/73] Compiling _CryptoExtras ARC.swift
[70/73] Compiling _CryptoExtras ARCCredential.swift
[71/73] Compiling _CryptoExtras ARCEncoding.swift
[72/73] Compiling _CryptoExtras ARCPrecredential.swift
[73/73] Compiling _CryptoExtras ARCPresentation.swift
Build of target: '_CryptoExtras' complete! (41.87s)
Successfully merged into /host/spi-builder-workspace/.docs-staging/apple/swift-crypto/3.12.3/index/index.json
Successfully merged into /host/spi-builder-workspace/.docs-staging/apple/swift-crypto/3.12.3/linkable-paths.json
2418
22 /host/spi-builder-workspace/.docs/apple/swift-crypto/3.12.3
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/swift-crypto/3.12.3
File count: 2418
Doc size: 22.0MB
Preparing doc bundle ...
Uploading prod-apple-swift-crypto-3.12.3-634706a1.zip to s3://spi-docs-inbox/prod-apple-swift-crypto-3.12.3-634706a1.zip
Copying... [11%]
Copying... [21%]
Copying... [30%]
Copying... [42%]
Copying... [51%]
Copying... [60%]
Copying... [72%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.