Build Information
Successful build of secp256k1, reference main (40b4b3
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 16:39:19 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jb55/secp256k1.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jb55/secp256k1.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 40b4b38 context: make public
Submodule path 'Sources/bindings/secp256k1': checked out '43756da819a235d813e7ecd53eae6df073b53247'
Submodule path 'Sources/implementation/swift-crypto': checked out '4832fa0d133b9e03077040f123a9087e23ed21dd'
Submodule 'Sources/bindings/secp256k1' (https://github.com/bitcoin-core/secp256k1) registered for path 'Sources/bindings/secp256k1'
Submodule 'Sources/implementation/swift-crypto' (https://github.com/apple/swift-crypto) registered for path 'Sources/implementation/swift-crypto'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/bindings/secp256k1'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/implementation/swift-crypto'...
Cloned https://github.com/jb55/secp256k1.swift.git
Revision (git rev-parse @):
40b4b38b3b1c83f7088c76189a742870e0ca06a9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jb55/secp256k1.swift.git at main
Fetching https://github.com/csjones/lefthook.git
[1/5466] Fetching lefthook
Fetched https://github.com/csjones/lefthook.git from cache (7.93s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
[1/2038] Fetching swift-docc-plugin
[1143/47208] Fetching swift-docc-plugin, swiftformat
[6105/188408] Fetching swift-docc-plugin, swiftformat, swiftlint
Fetched https://github.com/realm/SwiftLint.git from cache (81.46s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (81.46s)
Fetched https://github.com/apple/swift-docc-plugin from cache (81.46s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.97s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.71s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.57.0 (0.58s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
[1/929] Fetching swiftytexttable
[76/1012] Fetching swiftytexttable, collectionconcurrencykit
[345/13715] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
[473/23630] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, yams
[650/39646] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, yams, sourcekitten
[778/52010] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, yams, sourcekitten, swift-argument-parser
[30373/118493] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, yams, sourcekitten, swift-argument-parser, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (2.57s)
[53776/118410] Fetching swiftytexttable, cryptoswift, yams, sourcekitten, swift-argument-parser, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.68s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.68s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.68s)
[26462/89101] Fetching cryptoswift, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (4.04s)
[25335/79186] Fetching cryptoswift, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.75s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (10.75s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.70s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.79s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.70s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.07s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.74s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.67s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.70s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.86s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.54.6 (0.71s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0-prerelease-2024-08-14 (0.79s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.54.6
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.57.0
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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.35.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0-prerelease-2024-08-14
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/csjones/lefthook.git
Working copy of https://github.com/csjones/lefthook.git resolved at swift (fd86c19)
[31934/11453398] Downloading https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip
[11511480/19836873] Downloading https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/csjones/lefthook/releases/latest/download/Lefthook_macOS.xcframework.zip
Downloading binary artifact https://github.com/csjones/lefthook/releases/latest/download/Lefthook_macOS.xcframework.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip (1.43s)
Downloaded https://github.com/csjones/lefthook/releases/latest/download/Lefthook_macOS.xcframework.zip (1.74s)
========================================
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": "secp256k1.swift",
"name": "secp256k1",
"url": "https://github.com/jb55/secp256k1.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/secp256k1.swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/jb55/secp256k1.swift.git
[1/876] Fetching secp256k1.swift
Fetched https://github.com/jb55/secp256k1.swift.git from cache (0.85s)
Creating working copy for https://github.com/jb55/secp256k1.swift.git
Working copy of https://github.com/jb55/secp256k1.swift.git resolved at main (40b4b38)
warning: '.resolve-product-dependencies': dependency 'secp256k1.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jb55/secp256k1.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin SwiftFormatPlugin
[5/5] Compiling plugin SwiftLintBuildToolPlugin
[6/6] Compiling plugin SwiftLintCommandPlugin
Building for debugging...
[6/13] Write sources
[8/13] Write swift-version--7754E27361AE5C74.txt
[9/13] Compiling precomputed_ecmult_gen.c
[10/13] Compiling Utility.c
[11/13] Compiling secp256k1.c
[12/13] Compiling precomputed_ecmult.c
[14/32] Compiling secp256k1_implementation Utility.swift
[15/32] Compiling secp256k1_implementation Zeroization.swift
[16/32] Compiling secp256k1_implementation Signature.swift
[17/32] Compiling secp256k1_implementation RNG_boring.swift
[18/32] Compiling secp256k1_implementation Schnorr.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[19/32] Compiling secp256k1_implementation Tweak.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[20/32] Compiling secp256k1_implementation SHA256.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[21/32] Compiling secp256k1_implementation SafeCompare.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[22/34] Emitting module secp256k1_implementation
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:23:27: warning: static property 'declassify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
22 | init(rawValue: Int32) { self.rawValue = UInt32(rawValue) }
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
| |- warning: static property 'declassify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'declassify' 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
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:24:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
22 | init(rawValue: Int32) { self.rawValue = UInt32(rawValue) }
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:25:27: warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
| |- warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sign' 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
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:26:27: warning: static property 'verify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
| |- warning: static property 'verify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'verify' 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
27 |
28 | public static func create(_ context: Context = .none) throws -> OpaquePointer {
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[23/34] Compiling secp256k1_implementation Digests.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[24/34] Compiling secp256k1_implementation ECDH.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[25/34] Compiling secp256k1_implementation Asymmetric.swift
[26/34] Compiling secp256k1_implementation DH.swift
[27/34] Compiling secp256k1_implementation secp256k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:23:27: warning: static property 'declassify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
22 | init(rawValue: Int32) { self.rawValue = UInt32(rawValue) }
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
| |- warning: static property 'declassify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'declassify' 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
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:24:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
22 | init(rawValue: Int32) { self.rawValue = UInt32(rawValue) }
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:25:27: warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
| |- warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sign' 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
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:26:27: warning: static property 'verify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
| |- warning: static property 'verify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'verify' 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
27 |
28 | public static func create(_ context: Context = .none) throws -> OpaquePointer {
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[28/34] Compiling secp256k1_implementation Digest.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:23:27: warning: static property 'declassify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
22 | init(rawValue: Int32) { self.rawValue = UInt32(rawValue) }
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
| |- warning: static property 'declassify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'declassify' 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
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:24:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
22 | init(rawValue: Int32) { self.rawValue = UInt32(rawValue) }
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:25:27: warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
23 | public static let declassify = Context(rawValue: SECP256K1_CONTEXT_DECLASSIFY)
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
| |- warning: static property 'sign' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sign' 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
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:26:27: warning: static property 'verify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Flags passed to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context_preallocated_create.
18 | public extension secp256k1 {
19 | struct Context: OptionSet {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
24 | public static let none = Context(rawValue: SECP256K1_CONTEXT_NONE)
25 | public static let sign = Context(rawValue: SECP256K1_CONTEXT_SIGN)
26 | public static let verify = Context(rawValue: SECP256K1_CONTEXT_VERIFY)
| |- warning: static property 'verify' is not concurrency-safe because non-'Sendable' type 'secp256k1.Context' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'verify' 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
27 |
28 | public static func create(_ context: Context = .none) throws -> OpaquePointer {
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[29/34] Compiling secp256k1_implementation Errors.swift
[30/34] Compiling secp256k1_implementation PrettyBytes.swift
[31/34] Compiling secp256k1_implementation ECDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[32/34] Compiling secp256k1_implementation EdDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public static let raw = try! secp256k1.Context.create()
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'OpaquePointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' 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
39 | }
40 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
[33/34] Compiling secp256k1_implementation SecureBytes.swift
[34/34] Compiling secp256k1_implementation BytesUtil.swift
[35/36] Emitting module secp256k1
[36/36] Compiling secp256k1 EntryPoint.swift
Build complete! (36.29s)
Build complete.
{
"c_language_standard" : "c89",
"dependencies" : [
{
"identity" : "lefthook",
"requirement" : {
"branch" : [
"swift"
]
},
"type" : "sourceControl",
"url" : "https://github.com/csjones/lefthook.git"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.49.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat.git"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.46.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "secp256k1",
"name" : "secp256k1",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "secp256k1",
"targets" : [
"secp256k1"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "secp256k1_implementation",
"module_type" : "SwiftTarget",
"name" : "secp256k1_implementation",
"path" : "Sources/implementation",
"product_memberships" : [
"secp256k1"
],
"sources" : [
"Asymmetric.swift",
"DH.swift",
"Digests.swift",
"ECDH.swift",
"ECDSA.swift",
"EdDSA.swift",
"Errors.swift",
"PrettyBytes.swift",
"SHA256.swift",
"SafeCompare.swift",
"Schnorr.swift",
"Tweak.swift",
"Utility.swift",
"Zeroization.swift",
"secp256k1.swift",
"swift-crypto/Sources/Crypto/Digests/Digest.swift",
"swift-crypto/Sources/Crypto/Signatures/Signature.swift",
"swift-crypto/Sources/Crypto/Util/BoringSSL/RNG_boring.swift",
"swift-crypto/Sources/Crypto/Util/SecureBytes.swift",
"swift-crypto/Tests/_CryptoExtrasTests/Utils/BytesUtil.swift"
],
"target_dependencies" : [
"secp256k1_bindings"
],
"type" : "library"
},
{
"c99name" : "secp256k1_bindings",
"module_type" : "ClangTarget",
"name" : "secp256k1_bindings",
"path" : "Sources/bindings",
"product_memberships" : [
"secp256k1"
],
"sources" : [
"secp256k1/src/precomputed_ecmult.c",
"secp256k1/src/precomputed_ecmult_gen.c",
"secp256k1/src/secp256k1.c",
"src/Utility.c"
],
"type" : "library"
},
{
"c99name" : "secp256k1Tests",
"module_type" : "SwiftTarget",
"name" : "secp256k1Tests",
"path" : "Tests/secp256k1Tests",
"sources" : [
"XCTestManifests.swift",
"secp256k1Tests.swift"
],
"target_dependencies" : [
"secp256k1"
],
"type" : "test"
},
{
"c99name" : "secp256k1",
"module_type" : "SwiftTarget",
"name" : "secp256k1",
"path" : "Sources/secp256k1",
"product_memberships" : [
"secp256k1"
],
"sources" : [
"EntryPoint.swift"
],
"target_dependencies" : [
"secp256k1_bindings",
"secp256k1_implementation"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/jb55/secp256k1.swift/main
Repository: jb55/secp256k1.swift
Swift version used: 6.0
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
Target: secp256k1_implementation
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'secp256k1_implementation'...
Finished extracting symbol information for 'secp256k1_implementation'. (3.85s)
Building documentation for 'secp256k1_implementation'...
warning: Parameter 'format' is missing documentation
--> Sources/implementation/Asymmetric.swift:55:67-55:67
53 |
54 | /// Creates a secp256k1 private key for signing from a data representation.
55 + /// - Parameter data: A raw representation of the key.
| ╰─suggestion: Document 'format' parameter
56 | /// - Throws: An error is thrown when the raw representation does not create a private key for signing.
57 | public init<D: ContiguousBytes>(rawRepresentation data: D, format: secp256k1.Format = .compressed) throws {
warning: Parameter 'xonly' is missing documentation
--> Sources/implementation/Asymmetric.swift:110:67-110:67
108 |
109 | /// Generates a secp256k1 public key from a raw representation.
110 + /// - Parameter data: A raw representation of the key.
| ╰─suggestion: Document 'xonly' parameter
111 | /// - Throws: An error is thrown when the raw representation does not create a public key.
112 | public init<D: ContiguousBytes>(rawRepresentation data: D, xonly: D, keyParity: Int32, format: secp256k1.Format) {
warning: Parameter 'format' is missing documentation
--> Sources/implementation/Asymmetric.swift:110:67-110:67
108 |
109 | /// Generates a secp256k1 public key from a raw representation.
110 + /// - Parameter data: A raw representation of the key.
| ╰─suggestion: Document 'format' parameter
111 | /// - Throws: An error is thrown when the raw representation does not create a public key.
112 | public init<D: ContiguousBytes>(rawRepresentation data: D, xonly: D, keyParity: Int32, format: secp256k1.Format) {
warning: Parameter 'keyParity' is missing documentation
--> Sources/implementation/Asymmetric.swift:110:67-110:67
108 |
109 | /// Generates a secp256k1 public key from a raw representation.
110 + /// - Parameter data: A raw representation of the key.
| ╰─suggestion: Document 'keyParity' parameter
111 | /// - Throws: An error is thrown when the raw representation does not create a public key.
112 | public init<D: ContiguousBytes>(rawRepresentation data: D, xonly: D, keyParity: Int32, format: secp256k1.Format) {
warning: Parameter 'keyParity' is missing documentation
--> Sources/implementation/ECDH.swift:25:64-25:64
23 | /// - data: A raw representation of the public key as a collection of contiguous bytes.
24 | /// - xonly: A raw representation of the xonly key as a collection of contiguous bytes.
25 + /// - format: the format of the public key object
| ╰─suggestion: Document 'keyParity' parameter
26 | public init<D: ContiguousBytes>(rawRepresentation data: D, xonly: D, keyParity: Int32, format: secp256k1.Format) {
27 | self.baseKey = PublicKeyImplementation(rawRepresentation: data, xonly: xonly, keyParity: keyParity, format: format)
warning: Parameter 'format' is missing documentation
--> Sources/implementation/ECDH.swift:52:67-52:67
50 |
51 | /// Creates a secp256k1 private key for key agreement from a collection of bytes.
52 + /// - Parameter data: A raw representation of the key.
| ╰─suggestion: Document 'format' parameter
53 | /// - Throws: An error is thrown when the raw representation does not create a private key for key agreement.
54 | public init<D: ContiguousBytes>(rawRepresentation data: D, format: secp256k1.Format = .compressed) throws {
warning: Parameter 'derRepresentation' not found in initializer declaration
--> Sources/implementation/ECDSA.swift:79:25-79:42
77 |
78 | /// Initializes ECDSASignature from the Compact representation.
79 + /// - Parameter derRepresentation: A Compact representation of the key as a collection of contiguous bytes.
| ╰─suggestion: Replace 'derRepresentation' with 'compactRepresentation'
80 | /// - Throws: If there is a failure with parsing the derRepresentation
81 | public init<D: DataProtocol>(compactRepresentation: D) throws {
warning: Parameter 'compactRepresentation' is missing documentation
--> Sources/implementation/ECDSA.swift:79:116-79:116
77 |
78 | /// Initializes ECDSASignature from the Compact representation.
79 + /// - Parameter derRepresentation: A Compact representation of the key as a collection of contiguous bytes.
| ╰─suggestion: Document 'compactRepresentation' parameter
80 | /// - Throws: If there is a failure with parsing the derRepresentation
81 | public init<D: DataProtocol>(compactRepresentation: D) throws {
warning: Parameter 'tag' is missing documentation
--> Sources/implementation/SHA256.swift:28:48-28:48
26 |
27 | /// Computes a digest of the data.
28 + /// - Parameter data: The data to be hashed
| ╰─suggestion: Document 'tag' parameter
29 | /// - Returns: The computed digest
30 | public static func taggedHash<D: DataProtocol>(tag: [UInt8], data: D) throws -> SHA256Digest {
warning: 'secp256k1_schnorrsig_sign' doesn't exist at '/secp256k1_implementation/secp256k1/Signing/SchnorrSigner/signature(for:)'
--> Sources/implementation/Schnorr.swift:88:51-88:76
86 | ///
87 | /// This function uses SHA256 to create a hash of the variable length the data argument to ensure only 32-byte messages are signed.
88 + /// Strictly does _not_ follow BIP340. Read ``secp256k1_schnorrsig_sign`` documentation for more info.
89 | ///
90 | /// [bitcoin-core/secp256k1](https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1_schnorrsig.h#L95L118)
warning: 'secp256k1_schnorrsig_sign' doesn't exist at '/secp256k1_implementation/secp256k1/Signing/SchnorrSigner/signature(for:auxiliaryRand:)'
--> Sources/implementation/Schnorr.swift:118:51-118:76
116 | ///
117 | /// This function uses SHA256 to create a hash of the variable length the data argument to ensure only 32-byte messages are signed.
118 + /// Strictly does _not_ follow BIP340. Read ``secp256k1_schnorrsig_sign`` documentation for more info.
119 | ///
120 | /// [bitcoin-core/secp256k1](https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1_schnorrsig.h#L95L118)
warning: 'auxiliaryRand' doesn't exist at '/secp256k1_implementation/secp256k1/Signing/SchnorrSigner/signature(message:auxiliaryRand:)'
--> Sources/implementation/Schnorr.swift:153:14-153:27
151 | ///
152 | /// This function provides the flexibility for creating a Schnorr signature without making assumptions about message object.
153 + /// If ``auxiliaryRand`` is ``nil`` the ``secp256k1_nonce_function_bip340`` is used.
154 | ///
155 | /// [secp256k1_schnorrsig_extraparams](https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1_schnorrsig.h#L66L81)
warning: 'nil' doesn't exist at '/secp256k1_implementation/secp256k1/Signing/SchnorrSigner/signature(message:auxiliaryRand:)'
--> Sources/implementation/Schnorr.swift:153:35-153:38
151 | ///
152 | /// This function provides the flexibility for creating a Schnorr signature without making assumptions about message object.
153 + /// If ``auxiliaryRand`` is ``nil`` the ``secp256k1_nonce_function_bip340`` is used.
154 | ///
155 | /// [secp256k1_schnorrsig_extraparams](https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1_schnorrsig.h#L66L81)
warning: 'secp256k1_nonce_function_bip340' doesn't exist at '/secp256k1_implementation/secp256k1/Signing/SchnorrSigner/signature(message:auxiliaryRand:)'
--> Sources/implementation/Schnorr.swift:153:47-153:78
151 | ///
152 | /// This function provides the flexibility for creating a Schnorr signature without making assumptions about message object.
153 + /// If ``auxiliaryRand`` is ``nil`` the ``secp256k1_nonce_function_bip340`` is used.
154 | ///
155 | /// [secp256k1_schnorrsig_extraparams](https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1_schnorrsig.h#L66L81)
warning: 'secp256k1_schnorrsig_sign' doesn't exist at '/secp256k1_implementation/secp256k1/Signing/SchnorrValidator/isValidSignature(_:for:)'
--> Sources/implementation/Schnorr.swift:190:51-190:76
188 | ///
189 | /// This function uses SHA256 to create a hash of the variable length the data argument to ensure only 32-byte messages are verified.
190 + /// Strictly does _not_ follow BIP340. Read ``secp256k1_schnorrsig_sign`` documentation for more info.
191 | ///
192 | /// [bitcoin-core/secp256k1](https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1_schnorrsig.h#L95L118)
warning: Parameter 'format' not found in instance method declaration
--> Sources/implementation/Tweak.swift:119:11-119:64
117 | /// - Parameters:
118 | /// - tweak: the 32-byte tweak object
119 + /// - format: the format of the tweaked `XonlyKey` object
| ╰─suggestion: Remove 'format' parameter documentation
120 | /// - Returns: tweaked `PublicKey` object
121 | func add(_ tweak: [UInt8]) throws -> Self {Finished building documentation for 'secp256k1_implementation' (0.23s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/jb55/secp256k1.swift/main
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit SourceRange.swift
[21/57] Compiling SymbolKit Metadata.swift
[22/57] Compiling SymbolKit Module.swift
[23/57] Compiling SymbolKit OperatingSystem.swift
[24/57] Compiling SymbolKit Platform.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit DeclarationFragments.swift
[30/57] Compiling SymbolKit Fragment.swift
[31/57] Compiling SymbolKit FragmentKind.swift
[32/57] Compiling SymbolKit FunctionParameter.swift
[33/57] Compiling SymbolKit FunctionSignature.swift
[34/57] Compiling SymbolKit SemanticVersion.swift
[35/57] Compiling SymbolKit AccessControl.swift
[36/57] Compiling SymbolKit Availability.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.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] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract SnippetBuildCommand.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract URL+Status.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.63s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/20] Compiling secp256k1_implementation Asymmetric.swift
[3/20] Compiling secp256k1_implementation DH.swift
[4/20] Compiling secp256k1_implementation Errors.swift
[5/20] Compiling secp256k1_implementation PrettyBytes.swift
[6/22] Compiling secp256k1_implementation Utility.swift
[7/22] Compiling secp256k1_implementation Zeroization.swift
[8/22] Compiling secp256k1_implementation Schnorr.swift
[9/22] Compiling secp256k1_implementation Tweak.swift
[10/22] Compiling secp256k1_implementation Signature.swift
[11/22] Compiling secp256k1_implementation RNG_boring.swift
[12/22] Compiling secp256k1_implementation SHA256.swift
[13/22] Compiling secp256k1_implementation SafeCompare.swift
[14/22] Emitting module secp256k1_implementation
[15/22] Compiling secp256k1_implementation ECDSA.swift
[16/22] Compiling secp256k1_implementation EdDSA.swift
[17/22] Compiling secp256k1_implementation secp256k1.swift
[18/22] Compiling secp256k1_implementation Digest.swift
[19/22] Compiling secp256k1_implementation Digests.swift
[20/22] Compiling secp256k1_implementation ECDH.swift
[21/22] Compiling secp256k1_implementation SecureBytes.swift
[22/22] Compiling secp256k1_implementation BytesUtil.swift
Build of target: 'secp256k1_implementation' complete! (1.53s)
508
4 /Users/admin/builder/spi-builder-workspace/.docs/jb55/secp256k1.swift/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/jb55/secp256k1.swift/main
File count: 508
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-jb55-secp256k1.swift-main-992def65.zip to s3://spi-docs-inbox/prod-jb55-secp256k1.swift-main-992def65.zip
Copying... [15%]
Copying... [22%]
Copying... [37%]
Copying... [45%]
Copying... [52%]
Copying... [67%]
Copying... [74%]
Copying... [82%]
Copying... [96%]
Copying... [100%]
Done.