Build Information
Successful build of secp256k1, reference 0.7.0 (1a796f
), with Swift 6.0 for Linux on 4 Nov 2024 03:15:47 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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 '/host/spi-builder-workspace/Sources/bindings/secp256k1'...
Cloning into '/host/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/jb55/secp256k1.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/7] Write sources
[2/7] Compiling precomputed_ecmult_gen.c
[3/7] Compiling Utility.c
[4/7] Write swift-version-24593BA9C3E375BF.txt
[5/7] Compiling secp256k1.c
[6/7] Compiling precomputed_ecmult.c
[8/26] Emitting module secp256k1_implementation
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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 | }
[9/28] Compiling secp256k1_implementation SecureBytes.swift
[10/28] Compiling secp256k1_implementation BytesUtil.swift
[11/28] Compiling secp256k1_implementation Signature.swift
[12/28] Compiling secp256k1_implementation RNG_boring.swift
[13/28] Compiling secp256k1_implementation Errors.swift
/host/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/28] Compiling secp256k1_implementation PrettyBytes.swift
/host/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/28] Compiling secp256k1_implementation SHA256.swift
/host/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/28] Compiling secp256k1_implementation Utility.swift
[17/28] Compiling secp256k1_implementation Zeroization.swift
[18/28] Compiling secp256k1_implementation Asymmetric.swift
[19/28] Compiling secp256k1_implementation DH.swift
[20/28] Compiling secp256k1_implementation Digests.swift
[21/28] Compiling secp256k1_implementation secp256k1.swift
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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 | }
[22/28] Compiling secp256k1_implementation Digest.swift
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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 | }
[23/28] Compiling secp256k1_implementation SafeCompare.swift
/host/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/28] Compiling secp256k1_implementation Schnorr.swift
/host/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/28] Compiling secp256k1_implementation Tweak.swift
/host/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/28] Compiling secp256k1_implementation ECDH.swift
/host/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/28] Compiling secp256k1_implementation ECDSA.swift
/host/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/28] Compiling secp256k1_implementation EdDSA.swift
/host/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 | }
[30/31] Compiling secp256k1 EntryPoint.swift
[31/31] Emitting module secp256k1
Build complete! (16.32s)
Build complete.
{
"c_language_standard" : "c89",
"dependencies" : [
],
"manifest_display_name" : "secp256k1",
"name" : "secp256k1",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.