The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of secp256k1, reference 0.7.0 (1a796f), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 03:31:40 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jb55/secp256k1.swift.git
Reference: 0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jb55/secp256k1.swift
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 1a796f7 Silent Payments (#197)
Submodule path 'Sources/bindings/secp256k1': checked out '44c2452fd387f7ca604ab42d73746e7d3a44d8a2'
Submodule path 'Sources/implementation/swift-crypto': checked out 'eb2d582c2975e0d8e2c62031ebc1dadfcdce258f'
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 @):
1a796f738bdcd84b41d05f92593188b23163e60b
SUCCESS checkout https://github.com/jb55/secp256k1.swift.git at 0.7.0
Fetching https://github.com/csjones/lefthook.git
[1/5466] Fetching lefthook
Fetched https://github.com/csjones/lefthook.git from cache (73.71s)
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/realm/SwiftLint.git
[1/45160] Fetching swiftformat
[4066/186348] Fetching swiftformat, swiftlint
Fetched https://github.com/realm/SwiftLint.git from cache (328.44s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (328.44s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.46.5 (1.40s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/929] Fetching swiftytexttable
[262/10831] Fetching swiftytexttable, yams
[430/23184] Fetching swiftytexttable, yams, swift-argument-parser
[3601/39200] Fetching swiftytexttable, yams, swift-argument-parser, sourcekitten
Fetched https://github.com/jpsim/Yams.git from cache (2.45s)
[13763/29298] Fetching swiftytexttable, swift-argument-parser, sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (11.65s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (11.65s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (11.65s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.49.5 (2.64s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.68s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.32.0 (0.65s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.05s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 6.0.0 (0.64s)
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.50s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 6.0.0
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/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.32.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.49.5
Creating working copy for https://github.com/csjones/lefthook.git
Working copy of https://github.com/csjones/lefthook.git resolved at swift (fd86c19)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
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/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.46.5
[16375/8383475] Downloading 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/csjones/lefthook/releases/latest/download/Lefthook_macOS.xcframework.zip (1.52s)
========================================
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.88s)
Creating working copy for https://github.com/jb55/secp256k1.swift.git
Working copy of https://github.com/jb55/secp256k1.swift.git resolved at 0.7.0 (1a796f7)
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
Building for debugging...
[1/8] Write sources
[3/8] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling Utility.c
[5/8] Compiling secp256k1.c
[6/8] Compiling precomputed_ecmult_gen.c
[7/8] Compiling precomputed_ecmult.c
[9/27] Compiling secp256k1_implementation Utility.swift
[10/27] Compiling secp256k1_implementation Zeroization.swift
[11/27] Compiling secp256k1_implementation Signature.swift
[12/27] Compiling secp256k1_implementation RNG_boring.swift
[13/27] 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:20: 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 |         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 | }
[14/27] 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:20: 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 |         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 | }
[15/29] Compiling secp256k1_implementation SHA256.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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 | }
[16/29] Compiling secp256k1_implementation SafeCompare.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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 | }
[17/29] Compiling secp256k1_implementation Errors.swift
[18/29] Compiling secp256k1_implementation PrettyBytes.swift
[19/29] Compiling secp256k1_implementation Digests.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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/29] Compiling secp256k1_implementation ECDH.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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/29] Compiling secp256k1_implementation Asymmetric.swift
[22/29] Compiling secp256k1_implementation DH.swift
[23/29] Compiling secp256k1_implementation Schnorr.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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/29] Compiling secp256k1_implementation Tweak.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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/29] Compiling secp256k1_implementation ECDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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 | }
[26/29] Compiling secp256k1_implementation EdDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/implementation/secp256k1.swift:38:20: 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 |         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 | }
[27/29] 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:20: 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 |         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/29] Compiling secp256k1_implementation SecureBytes.swift
[29/29] Compiling secp256k1_implementation BytesUtil.swift
[30/31] Compiling secp256k1 EntryPoint.swift
[31/31] Emitting module secp256k1
Build complete! (23.09s)
Build complete.
{
  "c_language_standard" : "c89",
  "dependencies" : [
    {
      "identity" : "lefthook",
      "requirement" : {
        "branch" : [
          "swift"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/csjones/lefthook.git"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.49.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat.git"
    },
    {
      "identity" : "swiftlint",
      "requirement" : {
        "exact" : [
          "0.46.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint.git"
    }
  ],
  "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.5"
}
Done.