Build Information
Successful build of CryptorECC, reference master (e5faf7
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 05:11:30 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/BlueECC.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/BlueECC
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e5faf7c Update to use SecKeyCreateRandomKey to generate key pairs (#36)
Cloned https://github.com/Kitura/BlueECC.git
Revision (git rev-parse @):
e5faf7ce81c762ed8e266e35ad6c00cc5bfccf52
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kitura/BlueECC.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "blueecc",
"name": "CryptorECC",
"url": "https://github.com/Kitura/BlueECC.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueECC",
"dependencies": [
]
}
]
}
Fetching https://github.com/Kitura/BlueECC.git
[1/1021] Fetching blueecc
Fetched https://github.com/Kitura/BlueECC.git from cache (1.01s)
Creating working copy for https://github.com/Kitura/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at master (e5faf7c)
warning: '.resolve-product-dependencies': dependency 'blueecc' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kitura/BlueECC.git
https://github.com/Kitura/BlueECC.git
{
"dependencies" : [
],
"manifest_display_name" : "CryptorECC",
"name" : "CryptorECC",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CryptorECC",
"targets" : [
"CryptorECC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CryptorECCTests",
"module_type" : "SwiftTarget",
"name" : "CryptorECCTests",
"path" : "Tests/CryptorECCTests",
"sources" : [
"CryptorECCTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CryptorECC"
],
"type" : "test"
},
{
"c99name" : "CryptorECC",
"module_type" : "SwiftTarget",
"name" : "CryptorECC",
"path" : "Sources/CryptorECC",
"product_memberships" : [
"CryptorECC"
],
"sources" : [
"ASN1.swift",
"Data+Extensions.swift",
"ECDecryptable.swift",
"ECEncryptable.swift",
"ECError.swift",
"ECPrivateKey.swift",
"ECPublicKey.swift",
"ECSignable.swift",
"ECSignature.swift",
"EllipticCurve.swift",
"SSLPointerTricks.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/13] Emitting module CryptorECC
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
34 |
35 | /// A prime256v1 curve.
36 | public static let prime256v1 = EllipticCurve.p256
| |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prime256v1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// A secp384r1 curve.
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
37 |
38 | /// A secp384r1 curve.
39 | public static let secp384r1 = EllipticCurve.p384
| |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'secp384r1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A secp521r1 curve.
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
40 |
41 | /// A secp521r1 curve.
42 | public static let secp521r1 = EllipticCurve.p521
| |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'secp521r1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Checks if two Curves are equal, required for Equatable protocol.
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:88:16: warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
86 | #else
87 | /// Secure Hash Algorithm 2 256-bit
88 | static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
| |- warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'p256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
90 | hashEngine: CC_SHA256,
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:95:16: warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
93 |
94 | /// Secure Hash Algorithm 2 384-bit
95 | static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
| |- warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'p384' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
97 | hashEngine: CC_SHA384,
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:102:16: warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
100 |
101 | /// Secure Hash Algorithm 512-bit
102 | static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
| |- warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'p521' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 | hashEngine: CC_SHA512,
[4/13] Compiling CryptorECC EllipticCurve.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
34 |
35 | /// A prime256v1 curve.
36 | public static let prime256v1 = EllipticCurve.p256
| |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prime256v1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// A secp384r1 curve.
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
37 |
38 | /// A secp384r1 curve.
39 | public static let secp384r1 = EllipticCurve.p384
| |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'secp384r1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A secp521r1 curve.
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
40 |
41 | /// A secp521r1 curve.
42 | public static let secp521r1 = EllipticCurve.p521
| |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'secp521r1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Checks if two Curves are equal, required for Equatable protocol.
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:88:16: warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
86 | #else
87 | /// Secure Hash Algorithm 2 256-bit
88 | static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
| |- warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'p256' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
90 | hashEngine: CC_SHA256,
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:95:16: warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
93 |
94 | /// Secure Hash Algorithm 2 384-bit
95 | static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
| |- warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'p384' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
97 | hashEngine: CC_SHA384,
/Users/admin/builder/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:102:16: warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
100 |
101 | /// Secure Hash Algorithm 512-bit
102 | static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
| |- warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'p521' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 | hashEngine: CC_SHA512,
[5/13] Compiling CryptorECC ECSignable.swift
[6/13] Compiling CryptorECC ECSignature.swift
[7/14] Compiling CryptorECC ECPublicKey.swift
[8/14] Compiling CryptorECC ECError.swift
[9/14] Compiling CryptorECC ASN1.swift
[10/14] Compiling CryptorECC Data+Extensions.swift
[11/14] Compiling CryptorECC ECDecryptable.swift
[12/14] Compiling CryptorECC ECPrivateKey.swift
[13/14] Compiling CryptorECC ECEncryptable.swift
[14/14] Compiling CryptorECC SSLPointerTricks.swift
Build complete! (5.64s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CryptorECC",
"name" : "CryptorECC",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CryptorECC",
"targets" : [
"CryptorECC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CryptorECCTests",
"module_type" : "SwiftTarget",
"name" : "CryptorECCTests",
"path" : "Tests/CryptorECCTests",
"sources" : [
"CryptorECCTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CryptorECC"
],
"type" : "test"
},
{
"c99name" : "CryptorECC",
"module_type" : "SwiftTarget",
"name" : "CryptorECC",
"path" : "Sources/CryptorECC",
"product_memberships" : [
"CryptorECC"
],
"sources" : [
"ASN1.swift",
"Data+Extensions.swift",
"ECDecryptable.swift",
"ECEncryptable.swift",
"ECError.swift",
"ECPrivateKey.swift",
"ECPublicKey.swift",
"ECSignable.swift",
"ECSignature.swift",
"EllipticCurve.swift",
"SSLPointerTricks.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/kitura/blueecc/master
Repository: Kitura/BlueECC
Swift version used: 6.1
Target: CryptorECC
Extracting symbol information for 'CryptorECC'...
Finished extracting symbol information for 'CryptorECC'. (3.24s)
Building documentation for 'CryptorECC'...
warning: Parameter 'ecPrivateKey' not found in instance method declaration
--> Sources/CryptorECC/ECDecryptable.swift:30:9-30:66
28 | /// Decrypt the encrypted data using the provided `ECPrivateKey`.
29 | /// The signing algorithm used is determined based on the private key's elliptic curve.
30 + /// - Parameter ecPrivateKey: The elliptic curve private key.
| ╰─suggestion: Remove 'ecPrivateKey' parameter documentation
31 | /// - Returns: The plaintext Data.
32 | /// - Throws: An ECError if the Encrypted data fails to be decrypted.
warning: Parameter 'key' is missing documentation
--> Sources/CryptorECC/ECDecryptable.swift:30:66-30:66
28 | /// Decrypt the encrypted data using the provided `ECPrivateKey`.
29 | /// The signing algorithm used is determined based on the private key's elliptic curve.
30 + /// - Parameter ecPrivateKey: The elliptic curve private key.
| ╰─suggestion: Document 'key' parameter
31 | /// - Returns: The plaintext Data.
32 | /// - Throws: An ECError if the Encrypted data fails to be decrypted.
warning: Parameter 'ecPrivateKey' not found in instance method declaration
--> Sources/CryptorECC/ECEncryptable.swift:38:9-38:66
36 | /// This either uses the `SecKeyAlgorithm`: `eciesEncryptionStandardVariableIVX963SHA256AESGCM`,
37 | /// or the equivalent OpenSSL implementation.
38 + /// - Parameter ecPrivateKey: The elliptic curve private key.
| ╰─suggestion: Remove 'ecPrivateKey' parameter documentation
39 | /// - Returns: The encrypted Data.
40 | /// - Throws: An ECError is the plaintext fails to be encrypted.
warning: Parameter 'key' is missing documentation
--> Sources/CryptorECC/ECEncryptable.swift:38:66-38:66
36 | /// This either uses the `SecKeyAlgorithm`: `eciesEncryptionStandardVariableIVX963SHA256AESGCM`,
37 | /// or the equivalent OpenSSL implementation.
38 + /// - Parameter ecPrivateKey: The elliptic curve private key.
| ╰─suggestion: Document 'key' parameter
39 | /// - Returns: The encrypted Data.
40 | /// - Throws: An ECError is the plaintext fails to be encrypted.
warning: Parameter 'ecPrivateKey' not found in instance method declaration
--> Sources/CryptorECC/ECEncryptable.swift:53:9-53:66
51 | /// This either uses the `SecKeyAlgorithm`: `eciesEncryptionStandardVariableIVX963SHA256AESGCM`,
52 | /// or the equivalent OpenSSL implementation.
53 + /// - Parameter ecPrivateKey: The elliptic curve private key.
| ╰─suggestion: Remove 'ecPrivateKey' parameter documentation
54 | /// - Returns: The encrypted Data.
55 | /// - Throws: An ECError is the plaintext fails to be encrypted.
warning: Parameter 'key' is missing documentation
--> Sources/CryptorECC/ECEncryptable.swift:53:66-53:66
51 | /// This either uses the `SecKeyAlgorithm`: `eciesEncryptionStandardVariableIVX963SHA256AESGCM`,
52 | /// or the equivalent OpenSSL implementation.
53 + /// - Parameter ecPrivateKey: The elliptic curve private key.
| ╰─suggestion: Document 'key' parameter
54 | /// - Returns: The encrypted Data.
55 | /// - Throws: An ECError is the plaintext fails to be encrypted.
warning: Parameter 'for curve' not found in type method declaration
--> Sources/CryptorECC/ECPrivateKey.swift:240:6-240:81
238 | /**
239 | Make an new ECPrivate key from a supported `EllipticCurve`.
240 + - Parameter for curve: The elliptic curve that is used to generate the key.
| ╰─suggestion: Remove 'for curve' parameter documentation
241 | - Returns: An ECPrivateKey.
242 | - Throws: An ECError if the key fails to be created.
warning: Parameter 'curve' is missing documentation
--> Sources/CryptorECC/ECPrivateKey.swift:240:81-240:81
238 | /**
239 | Make an new ECPrivate key from a supported `EllipticCurve`.
240 + - Parameter for curve: The elliptic curve that is used to generate the key.
| ╰─suggestion: Document 'curve' parameter
241 | - Returns: An ECPrivateKey.
242 | - Throws: An ECError if the key fails to be created.
warning: Parameter 'with key' not found in instance method declaration
--> Sources/CryptorECC/ECSignable.swift:35:9-35:62
33 | /// UTF8 encode the String to Data and sign it using the `ECPrivateKey`.
34 | /// The Data is signed using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
35 + /// - Parameter with key: The elliptic curve private key.
| ╰─suggestion: Remove 'with key' parameter documentation
36 | /// - Returns: An ECSignature on failure.
37 | /// - Throws: An ECError if a valid signature is unable to be created.
warning: Parameter 'key' is missing documentation
--> Sources/CryptorECC/ECSignable.swift:35:62-35:62
33 | /// UTF8 encode the String to Data and sign it using the `ECPrivateKey`.
34 | /// The Data is signed using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
35 + /// - Parameter with key: The elliptic curve private key.
| ╰─suggestion: Document 'key' parameter
36 | /// - Returns: An ECSignature on failure.
37 | /// - Throws: An ECError if a valid signature is unable to be created.
warning: Parameter 'with key' not found in instance method declaration
--> Sources/CryptorECC/ECSignable.swift:47:9-47:62
45 | /// Sign the plaintext data using the provided `ECPrivateKey`.
46 | /// The Data is signed using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
47 + /// - Parameter with key: The elliptic curve private key.
| ╰─suggestion: Remove 'with key' parameter documentation
48 | /// - Returns: An ECSignature on failure.
49 | /// - Throws: An ECError if a valid signature is unable to be created.
warning: Parameter 'key' is missing documentation
--> Sources/CryptorECC/ECSignable.swift:47:62-47:62
45 | /// Sign the plaintext data using the provided `ECPrivateKey`.
46 | /// The Data is signed using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
47 + /// - Parameter with key: The elliptic curve private key.
| ╰─suggestion: Document 'key' parameter
48 | /// - Returns: An ECSignature on failure.
49 | /// - Throws: An ECError if a valid signature is unable to be created.
warning: Parameter 'using ecPublicKey' not found in instance method declaration
--> Sources/CryptorECC/ECSignature.swift:73:21-73:38
71 | /// The Data is verified using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
72 | /// - Parameter plaintext: The String that was originally signed to produce the signature.
73 + /// - Parameter using ecPublicKey: The ECPublicKey that will be used to verify the plaintext.
| ╰─suggestion: Replace 'using ecPublicKey' with 'ecPublicKey'
74 | /// - Returns: true if the plaintext is valid for the provided signature. Otherwise it returns false.
75 | public func verify(plaintext: String, using ecPublicKey: ECPublicKey) -> Bool {
warning: Parameter 'ecPublicKey' is missing documentation
--> Sources/CryptorECC/ECSignature.swift:73:98-73:98
71 | /// The Data is verified using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
72 | /// - Parameter plaintext: The String that was originally signed to produce the signature.
73 + /// - Parameter using ecPublicKey: The ECPublicKey that will be used to verify the plaintext.
| ╰─suggestion: Document 'ecPublicKey' parameter
74 | /// - Returns: true if the plaintext is valid for the provided signature. Otherwise it returns false.
75 | public func verify(plaintext: String, using ecPublicKey: ECPublicKey) -> Bool {
warning: Parameter 'using ecPublicKey' not found in instance method declaration
--> Sources/CryptorECC/ECSignature.swift:83:21-83:38
81 | /// The Data is verified using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
82 | /// - Parameter plaintext: The Data that was originally signed to produce the signature.
83 + /// - Parameter using ecPublicKey: The ECPublicKey that will be used to verify the plaintext.
| ╰─suggestion: Replace 'using ecPublicKey' with 'ecPublicKey'
84 | /// - Returns: true if the plaintext is valid for the provided signature. Otherwise it returns false.
85 | public func verify(plaintext: Data, using ecPublicKey: ECPublicKey) -> Bool {
warning: Parameter 'ecPublicKey' is missing documentation
--> Sources/CryptorECC/ECSignature.swift:83:98-83:98
81 | /// The Data is verified using ECDSA with either SHA256, SHA384 or SHA512, depending on the key's curve.
82 | /// - Parameter plaintext: The Data that was originally signed to produce the signature.
83 + /// - Parameter using ecPublicKey: The ECPublicKey that will be used to verify the plaintext.
| ╰─suggestion: Document 'ecPublicKey' parameter
84 | /// - Returns: true if the plaintext is valid for the provided signature. Otherwise it returns false.
85 | public func verify(plaintext: Data, using ecPublicKey: ECPublicKey) -> Bool {
Finished building documentation for 'CryptorECC' (0.13s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/kitura/blueecc/master
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.08s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.48s)
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
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
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit Identifier.swift
[13/57] Compiling SymbolKit KindIdentifier.swift
[14/57] Compiling SymbolKit Location.swift
[15/57] Compiling SymbolKit Mutability.swift
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling SymbolKit SemanticVersion.swift
[22/57] Compiling SymbolKit AccessControl.swift
[23/57] Compiling SymbolKit Availability.swift
[24/57] Compiling SymbolKit AvailabilityItem.swift
[25/57] Compiling SymbolKit Domain.swift
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit SourceRange.swift
[31/57] Compiling SymbolKit Metadata.swift
[32/57] Compiling SymbolKit Module.swift
[33/57] Compiling SymbolKit OperatingSystem.swift
[34/57] Compiling SymbolKit Platform.swift
[35/57] Compiling SymbolKit Relationship.swift
[36/57] Compiling SymbolKit RelationshipKind.swift
[37/57] Compiling SymbolKit SourceOrigin.swift
[38/57] Compiling SymbolKit GenericConstraints.swift
[39/57] Compiling SymbolKit Swift.swift
[40/57] Compiling SymbolKit GenericConstraint.swift
[41/57] Compiling SymbolKit GenericParameter.swift
[42/57] Compiling SymbolKit Generics.swift
[43/57] Compiling SymbolKit Namespace.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.16s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Emitting module CryptorECC
[3/13] Compiling CryptorECC ECPublicKey.swift
[4/13] Compiling CryptorECC EllipticCurve.swift
[5/13] Compiling CryptorECC ECSignable.swift
[6/13] Compiling CryptorECC ECSignature.swift
[7/13] Compiling CryptorECC ECDecryptable.swift
[8/13] Compiling CryptorECC ECError.swift
[9/13] Compiling CryptorECC ECEncryptable.swift
[10/13] Compiling CryptorECC ECPrivateKey.swift
[11/13] Compiling CryptorECC ASN1.swift
[12/13] Compiling CryptorECC Data+Extensions.swift
[13/13] Compiling CryptorECC SSLPointerTricks.swift
Build of target: 'CryptorECC' complete! (1.35s)
168
2 /Users/admin/builder/spi-builder-workspace/.docs/kitura/blueecc/master
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/kitura/blueecc/master
File count: 168
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-kitura-blueecc-master-330fec4f.zip to s3://spi-docs-inbox/prod-kitura-blueecc-master-330fec4f.zip
Copying... [14%]
Copying... [29%]
Copying... [43%]
Copying... [57%]
Copying... [71%]
Copying... [86%]
Copying... [100%]
Copying... [100%]
Done.