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

Failed to build nostr-kit, reference 0.5.0 (f60503), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 16:15:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

124 | 					#if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/WebSocket + Handler.swift:226:5: warning: capture of 'self' with non-sendable type 'WebSocket.Handler' in a '@Sendable' closure
 13 | 	/// - abstracts away the fragmentation of WebSocket frames
 14 | 	/// - abstracts away frame types. a default written frame type can be specified, however, all inbound data is treated the same (as a ByteBuffer)
 15 | 	internal final class Handler:ChannelDuplexHandler {
    |                       `- note: class 'Handler' does not conform to the 'Sendable' protocol
 16 | 		/// how long is the randomly generated ping data?
 17 | 		private static let pingDataSize:size_t = 4
    :
224 | 			self.sendPing(context:context).whenFailure { initialPingFailure in
225 | 				#if DEBUG
226 | 				self.logger.error("failed to send initial ping. closing channel...", metadata:["error": "\(initialPingFailure)"])
    |     `- warning: capture of 'self' with non-sendable type 'WebSocket.Handler' in a '@Sendable' closure
227 | 				#endif
228 | 				context.fireErrorCaught(Relay.Error.WebSocket.failedToWriteInitialPing(initialPingFailure))
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/WebSocket + Handler.swift:228:5: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
226 | 				self.logger.error("failed to send initial ping. closing channel...", metadata:["error": "\(initialPingFailure)"])
227 | 				#endif
228 | 				context.fireErrorCaught(Relay.Error.WebSocket.failedToWriteInitialPing(initialPingFailure))
    |     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
229 | 			}
230 | 			self.initiateAutoPing(context: context, interval:self.configuration.timeouts.websocketConnectionTimeout)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1423:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1421 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1422 | /// `ChannelHandler`.
1423 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1424 |     // visible for ChannelPipeline to modify
1425 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/WebSocket + Handler.swift:327:8: warning: capture of 'self' with non-sendable type 'WebSocket.Handler' in a '@Sendable' closure
 13 | 	/// - abstracts away the fragmentation of WebSocket frames
 14 | 	/// - abstracts away frame types. a default written frame type can be specified, however, all inbound data is treated the same (as a ByteBuffer)
 15 | 	internal final class Handler:ChannelDuplexHandler {
    |                       `- note: class 'Handler' does not conform to the 'Sendable' protocol
 16 | 		/// how long is the randomly generated ping data?
 17 | 		private static let pingDataSize:size_t = 4
    :
325 | 						switch $0 {
326 | 						case .success:
327 | 							self.logger.debug("sent pong.", metadata:["ping_id": "\(asArray.prefix(2))"])
    |        `- warning: capture of 'self' with non-sendable type 'WebSocket.Handler' in a '@Sendable' closure
328 | 						case .failure(let error):
329 | 							self.logger.error("failed to send pong: '\(error)'", metadata:["ping_id": "\(asArray.prefix(2))"])
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/WebSocket.swift:89:23: warning: capture of 'relay' with non-sendable type 'Relay' in a '@Sendable' closure
 87 | 			upgradePromise = channel.pipeline.addHandlers([webSocketHandler, relayHandler, catcher])
 88 | 			upgradePromise.whenSuccess({
 89 | 				wsPromise.succeed(relay)
    |                       `- warning: capture of 'relay' with non-sendable type 'Relay' in a '@Sendable' closure
 90 | 			})
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay.swift:9:15: note: consider making struct 'Relay' conform to the 'Sendable' protocol
 7 | import var NIOPosix.TCP_NODELAY
 8 |
 9 | public struct Relay {
   |               `- note: consider making struct 'Relay' conform to the 'Sendable' protocol
10 |
11 | 	#if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/WebSocket.swift:99:35: warning: capture of 'initialRequestWriter' with non-sendable type 'WebSocket.InitialRequestWriter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 97 | 			timeoutTask.cancel()
 98 | 			// the upgrade succeeded. remove the initial request writer.
 99 | 			channel.pipeline.removeHandler(initialRequestWriter, promise:nil)
    |                                   `- warning: capture of 'initialRequestWriter' with non-sendable type 'WebSocket.InitialRequestWriter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 |
101 | 		})
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/HTTP2WSUpgrade/RelayInitialHTTPRequestWriter.swift:9:23: note: class 'InitialRequestWriter' does not conform to the 'Sendable' protocol
 7 |
 8 | 	/// writes the initial HTTP request to the channel. this is a channel handler that is removed after the request is written.
 9 | 	internal final class InitialRequestWriter: ChannelInboundHandler, RemovableChannelHandler {
   |                       `- note: class 'InitialRequestWriter' does not conform to the 'Sendable' protocol
10 | 		typealias InboundIn = HTTPClientResponsePart
11 | 		typealias OutboundOut = HTTPClientRequestPart
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/WebSocket.swift:106:32: warning: capture of 'initialRequestWriter' with non-sendable type 'WebSocket.InitialRequestWriter' in a '@Sendable' closure
104 | 		return channel.pipeline.addHTTPClientHandlers(leftOverBytesStrategy:.forwardBytes, withClientUpgrade:config).flatMap {
105 | 			// the HTTP client handlers were added. now add the initial request writer.
106 | 			channel.pipeline.addHandler(initialRequestWriter)
    |                                `- warning: capture of 'initialRequestWriter' with non-sendable type 'WebSocket.InitialRequestWriter' in a '@Sendable' closure
107 | 		}
108 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/WebSockets/HTTP2WSUpgrade/RelayInitialHTTPRequestWriter.swift:9:23: note: class 'InitialRequestWriter' does not conform to the 'Sendable' protocol
 7 |
 8 | 	/// writes the initial HTTP request to the channel. this is a channel handler that is removed after the request is written.
 9 | 	internal final class InitialRequestWriter: ChannelInboundHandler, RemovableChannelHandler {
   |                       `- note: class 'InitialRequestWriter' does not conform to the 'Sendable' protocol
10 | 		typealias InboundIn = HTTPClientResponsePart
11 | 		typealias OutboundOut = HTTPClientRequestPart
[938/945] Compiling nostr RandomBytes.swift
[939/945] Compiling nostr SHA1.swift
[940/945] Compiling nostr SHA256.swift
[941/945] Compiling nostr bech32.swift
[942/945] Compiling nostr nostr.swift
[943/954] Compiling nostr_cc nostr-cc.swift
[944/954] Compiling nostr_cc Profile.swift
[945/954] Compiling nostr_cc KeyPair.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Extensions/KeyPair.swift:22:16: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
20 | 			switch hex {
21 | 				case true:
22 | 					print(" \(secretKey.hexEncodedString)")
   |                |         `- note: use 'String(describing:)' to silence this warning
   |                `- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
23 | 				case false:
24 | 					print(" \(secretKey.nsecString())")
[946/954] Compiling nostr_cc Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:13:16: warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | }
 12 | fileprivate struct ANSIModifiers {
 13 |     static var bold = [1, 22]
    |                |- warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bold' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     static var blink = [5, 25]
 15 |     static var dim = [2, 22]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:14:16: warning: static property 'blink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | fileprivate struct ANSIModifiers {
 13 |     static var bold = [1, 22]
 14 |     static var blink = [5, 25]
    |                |- warning: static property 'blink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'blink' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     static var dim = [2, 22]
 16 |     static var italic = [2, 23]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:15:16: warning: static property 'dim' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     static var bold = [1, 22]
 14 |     static var blink = [5, 25]
 15 |     static var dim = [2, 22]
    |                |- warning: static property 'dim' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'dim' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var italic = [2, 23]
 17 |     static var underline = [4, 24]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:16:16: warning: static property 'italic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |     static var blink = [5, 25]
 15 |     static var dim = [2, 22]
 16 |     static var italic = [2, 23]
    |                |- warning: static property 'italic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'italic' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     static var underline = [4, 24]
 18 |     static var inverse = [7, 27]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:17:16: warning: static property 'underline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     static var dim = [2, 22]
 16 |     static var italic = [2, 23]
 17 |     static var underline = [4, 24]
    |                |- warning: static property 'underline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'underline' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     static var inverse = [7, 27]
 19 |     static var hidden = [8, 28]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:18:16: warning: static property 'inverse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |     static var italic = [2, 23]
 17 |     static var underline = [4, 24]
 18 |     static var inverse = [7, 27]
    |                |- warning: static property 'inverse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'inverse' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     static var hidden = [8, 28]
 20 |     static var strikethrough = [9, 29]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:19:16: warning: static property 'hidden' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |     static var underline = [4, 24]
 18 |     static var inverse = [7, 27]
 19 |     static var hidden = [8, 28]
    |                |- warning: static property 'hidden' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'hidden' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     static var strikethrough = [9, 29]
 21 | }
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:20:16: warning: static property 'strikethrough' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     static var inverse = [7, 27]
 19 |     static var hidden = [8, 28]
 20 |     static var strikethrough = [9, 29]
    |                |- warning: static property 'strikethrough' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'strikethrough' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 | }
 22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:56:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 |     // MARK: Normal text colors
 56 |     public static let black = apply(style:getColor(color:ANSIColorCode.black, mod: normalText))
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:57:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 55 |     // MARK: Normal text colors
 56 |     public static let black = apply(style:getColor(color:ANSIColorCode.black, mod: normalText))
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
    |                       |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:58:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 56 |     public static let black = apply(style:getColor(color:ANSIColorCode.black, mod: normalText))
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
    |                       |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:59:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
    |                       |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'yellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:60:23: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
    |                       |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:61:23: warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
    |                       |- warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'magenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
 63 |     public static let white = apply(style:getColor(color:ANSIColorCode.white, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:62:23: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
    |                       |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'cyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     public static let white = apply(style:getColor(color:ANSIColorCode.white, mod: normalText))
 64 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:63:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
 63 |     public static let white = apply(style:getColor(color:ANSIColorCode.white, mod: normalText))
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Bright text colors
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:66:23: warning: static property 'Black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 |     // MARK: Bright text colors
 66 |     public static let Black = apply(style:getColor(color:ANSIColorCode.black, mod: brightText))
    |                       |- warning: static property 'Black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:67:23: warning: static property 'Red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 65 |     // MARK: Bright text colors
 66 |     public static let Black = apply(style:getColor(color:ANSIColorCode.black, mod: brightText))
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
    |                       |- warning: static property 'Red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Red' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:68:23: warning: static property 'Green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 66 |     public static let Black = apply(style:getColor(color:ANSIColorCode.black, mod: brightText))
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
    |                       |- warning: static property 'Green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Green' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:69:23: warning: static property 'Yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
    |                       |- warning: static property 'Yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Yellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:70:23: warning: static property 'Blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
    |                       |- warning: static property 'Blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Blue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:71:23: warning: static property 'Magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
    |                       |- warning: static property 'Magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Magenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
 73 |     public static let White = apply(style:getColor(color:ANSIColorCode.white, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:72:23: warning: static property 'Cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
    |                       |- warning: static property 'Cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Cyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     public static let White = apply(style:getColor(color:ANSIColorCode.white, mod: brightText))
 74 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:73:23: warning: static property 'White' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
 73 |     public static let White = apply(style:getColor(color:ANSIColorCode.white, mod: brightText))
    |                       |- warning: static property 'White' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'White' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |
 75 |     // MARK: Normal background colors
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:76:23: warning: static property 'bgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     // MARK: Normal background colors
 76 |     public static let bgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: bg))
    |                       |- warning: static property 'bgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgBlack' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:77:23: warning: static property 'bgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 75 |     // MARK: Normal background colors
 76 |     public static let bgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: bg))
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
    |                       |- warning: static property 'bgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgRed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:78:23: warning: static property 'bgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static let bgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: bg))
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
    |                       |- warning: static property 'bgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgGreen' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:79:23: warning: static property 'bgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
    |                       |- warning: static property 'bgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgYellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:80:23: warning: static property 'bgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
    |                       |- warning: static property 'bgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgBlue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:81:23: warning: static property 'bgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
    |                       |- warning: static property 'bgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgMagenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
 83 |     public static let bgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:82:23: warning: static property 'bgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
    |                       |- warning: static property 'bgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgCyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     public static let bgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: bg))
 84 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:83:23: warning: static property 'bgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
 83 |     public static let bgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: bg))
    |                       |- warning: static property 'bgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgWhite' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     // MARK: Bright background colors
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:86:23: warning: static property 'BgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 84 |
 85 |     // MARK: Bright background colors
 86 |     public static let BgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: brightBg))
    |                       |- warning: static property 'BgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgBlack' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:87:23: warning: static property 'BgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     // MARK: Bright background colors
 86 |     public static let BgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: brightBg))
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
    |                       |- warning: static property 'BgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgRed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:88:23: warning: static property 'BgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 86 |     public static let BgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: brightBg))
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
    |                       |- warning: static property 'BgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgGreen' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:89:23: warning: static property 'BgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
    |                       |- warning: static property 'BgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgYellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:90:23: warning: static property 'BgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
    |                       |- warning: static property 'BgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgBlue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:91:23: warning: static property 'BgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
    |                       |- warning: static property 'BgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgMagenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
 93 |     public static let BgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:92:23: warning: static property 'BgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
    |                       |- warning: static property 'BgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgCyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |     public static let BgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: brightBg))
 94 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:93:23: warning: static property 'BgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
 93 |     public static let BgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: brightBg))
    |                       |- warning: static property 'BgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgWhite' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 94 |
 95 |     // MARK: Text modifiers
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:96:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |
 95 |     // MARK: Text modifiers
 96 |     public static let bold = apply(style:ANSIModifiers.bold)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:97:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 95 |     // MARK: Text modifiers
 96 |     public static let bold = apply(style:ANSIModifiers.bold)
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:98:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |     public static let bold = apply(style:ANSIModifiers.bold)
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
100 |     public static let underline = apply(style:ANSIModifiers.underline)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:99:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |     public static let underline = apply(style:ANSIModifiers.underline)
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:100:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
100 |     public static let underline = apply(style:ANSIModifiers.underline)
    |                       |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:101:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
100 |     public static let underline = apply(style:ANSIModifiers.underline)
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
103 |     public static let strikethrough = apply(style:ANSIModifiers.strikethrough)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:102:23: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
100 |     public static let underline = apply(style:ANSIModifiers.underline)
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
    |                       |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     public static let strikethrough = apply(style:ANSIModifiers.strikethrough)
104 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:103:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
103 |     public static let strikethrough = apply(style:ANSIModifiers.strikethrough)
    |                       |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[947/954] Compiling nostr_cc String.swift
[948/954] Compiling nostr_cc CLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI.swift:8:13: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | 	static let logger = makeDefaultLogger(label:"cc", logLevel:.debug)
 7 |
 8 | 	static let configuration = CommandConfiguration(
   |             `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | 		commandName: "nostr-cc",
10 | 		abstract: "nostr commandline-client.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 |
 3 | @main
   :
 6 | 	static let logger = makeDefaultLogger(label:"cc", logLevel:.debug)
 7 |
 8 | 	static let configuration = CommandConfiguration(
   |             |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 		commandName: "nostr-cc",
10 | 		abstract: "nostr commandline-client.",
[949/954] Compiling nostr_cc CLI + Relay.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:10:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | extension CLI {
 9 | 	struct Relay:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 | 			commandName: "relay",
12 | 			abstract: "take network action on relays.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import NIO
 3 | import nostr
   :
 8 | extension CLI {
 9 | 	struct Relay:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 			commandName: "relay",
12 | 			abstract: "take network action on relays.",
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:17:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 		struct Connect:ParsableCommand {
17 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | 				commandName: "connect",
19 | 				abstract: "connect to a relay."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:44:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | 		struct Post:AsyncParsableCommand {
44 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | 				commandName: "post",
46 | 				abstract: "post a signed text note event (kind 1) a relay.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:34:9: warning: initialization of immutable value 'relayConn' was never used; consider replacing with assignment to '_' or removing it
32 | 				let readKey = try nostr.KeyPair.fromJSONEncodedPath(baseURL)
33 | 				let buildConf = nostr.Relay.Client.Configuration(authenticationKey:readKey)
34 | 				let relayConn = try nostr.Relay.connect(url:nostr.Relay.URL(url), configuration: buildConf, on:mainEventLoop.next()).wait()
   |         `- warning: initialization of immutable value 'relayConn' was never used; consider replacing with assignment to '_' or removing it
35 |
36 | 				sleep(512)
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:74:25: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
72 | 				result.promise.futureResult.whenComplete { getResult in
73 | 					switch getResult {
74 | 						case .success(let event):
   |                         `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
75 | 							CLI.logger.info("successfully posted event: \(newEvent.uid.description.prefix(8))")
76 | 						case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:75:54: warning: capture of 'newEvent' with non-sendable type 'Event.Signed' in a '@Sendable' closure
73 | 					switch getResult {
74 | 						case .success(let event):
75 | 							CLI.logger.info("successfully posted event: \(newEvent.uid.description.prefix(8))")
   |                                                      `- warning: capture of 'newEvent' with non-sendable type 'Event.Signed' in a '@Sendable' closure
76 | 						case .failure(let error):
77 | 							print("event failed: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Event/Event.swift:27:16: note: struct 'Signed' does not conform to the 'Sendable' protocol
 25 |
 26 | 	/// represents an event whose contents are immutable after signing
 27 | 	public struct Signed:NOSTR_event_signed {
    |                `- note: struct 'Signed' does not conform to the 'Sendable' protocol
 28 | 		/// the unique identifier for the event
 29 | 		public let uid:UID
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'nostr'
 1 | import ArgumentParser
 2 | import NIO
 3 | import nostr
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'nostr'
 4 | import struct Foundation.URL
 5 | import class Foundation.FileManager
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:75:54: warning: implicit capture of 'newEvent' requires that 'Event.Signed' conforms to 'Sendable'; this is an error in the Swift 6 language mode
73 | 					switch getResult {
74 | 						case .success(let event):
75 | 							CLI.logger.info("successfully posted event: \(newEvent.uid.description.prefix(8))")
   |                                                      `- warning: implicit capture of 'newEvent' requires that 'Event.Signed' conforms to 'Sendable'; this is an error in the Swift 6 language mode
76 | 						case .failure(let error):
77 | 							print("event failed: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Event/Event.swift:27:16: note: struct 'Signed' does not conform to the 'Sendable' protocol
 25 |
 26 | 	/// represents an event whose contents are immutable after signing
 27 | 	public struct Signed:NOSTR_event_signed {
    |                `- note: struct 'Signed' does not conform to the 'Sendable' protocol
 28 | 		/// the unique identifier for the event
 29 | 		public let uid:UID
[950/954] Emitting module nostr_cc
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:10:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | extension CLI {
 9 | 	struct KeyPair:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 | 			commandName: "keypair",
12 | 			abstract: "manage keypair",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import nostr
 3 | import QuickJSON
   :
 8 | extension CLI {
 9 | 	struct KeyPair:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 			commandName: "keypair",
12 | 			abstract: "manage keypair",
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:17:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 		struct Import:AsyncParsableCommand {
17 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | 				commandName: "import",
19 | 				abstract: "import a keypair from input. the file will be saved in the current directory with a specified output name."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:46:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | 		struct Generate:AsyncParsableCommand {
46 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | 				commandName: "generate",
48 | 				abstract: "generate a new key of a specified name. the key will be exported to a file in the current working directory."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:74:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | 		struct Info:AsyncParsableCommand {
74 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | 				commandName: "info",
76 | 				abstract: "get info about a keypair file"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:10:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | extension CLI {
 9 | 	struct Relay:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 | 			commandName: "relay",
12 | 			abstract: "take network action on relays.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import NIO
 3 | import nostr
   :
 8 | extension CLI {
 9 | 	struct Relay:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 			commandName: "relay",
12 | 			abstract: "take network action on relays.",
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:17:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 		struct Connect:ParsableCommand {
17 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | 				commandName: "connect",
19 | 				abstract: "connect to a relay."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:44:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | 		struct Post:AsyncParsableCommand {
44 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | 				commandName: "post",
46 | 				abstract: "post a signed text note event (kind 1) a relay.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI.swift:8:13: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | 	static let logger = makeDefaultLogger(label:"cc", logLevel:.debug)
 7 |
 8 | 	static let configuration = CommandConfiguration(
   |             `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | 		commandName: "nostr-cc",
10 | 		abstract: "nostr commandline-client.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 |
 3 | @main
   :
 6 | 	static let logger = makeDefaultLogger(label:"cc", logLevel:.debug)
 7 |
 8 | 	static let configuration = CommandConfiguration(
   |             |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 		commandName: "nostr-cc",
10 | 		abstract: "nostr commandline-client.",
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:13:16: warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | }
 12 | fileprivate struct ANSIModifiers {
 13 |     static var bold = [1, 22]
    |                |- warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bold' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     static var blink = [5, 25]
 15 |     static var dim = [2, 22]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:14:16: warning: static property 'blink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | fileprivate struct ANSIModifiers {
 13 |     static var bold = [1, 22]
 14 |     static var blink = [5, 25]
    |                |- warning: static property 'blink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'blink' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     static var dim = [2, 22]
 16 |     static var italic = [2, 23]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:15:16: warning: static property 'dim' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     static var bold = [1, 22]
 14 |     static var blink = [5, 25]
 15 |     static var dim = [2, 22]
    |                |- warning: static property 'dim' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'dim' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var italic = [2, 23]
 17 |     static var underline = [4, 24]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:16:16: warning: static property 'italic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |     static var blink = [5, 25]
 15 |     static var dim = [2, 22]
 16 |     static var italic = [2, 23]
    |                |- warning: static property 'italic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'italic' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     static var underline = [4, 24]
 18 |     static var inverse = [7, 27]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:17:16: warning: static property 'underline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     static var dim = [2, 22]
 16 |     static var italic = [2, 23]
 17 |     static var underline = [4, 24]
    |                |- warning: static property 'underline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'underline' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     static var inverse = [7, 27]
 19 |     static var hidden = [8, 28]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:18:16: warning: static property 'inverse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |     static var italic = [2, 23]
 17 |     static var underline = [4, 24]
 18 |     static var inverse = [7, 27]
    |                |- warning: static property 'inverse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'inverse' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     static var hidden = [8, 28]
 20 |     static var strikethrough = [9, 29]
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:19:16: warning: static property 'hidden' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |     static var underline = [4, 24]
 18 |     static var inverse = [7, 27]
 19 |     static var hidden = [8, 28]
    |                |- warning: static property 'hidden' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'hidden' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     static var strikethrough = [9, 29]
 21 | }
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:20:16: warning: static property 'strikethrough' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     static var inverse = [7, 27]
 19 |     static var hidden = [8, 28]
 20 |     static var strikethrough = [9, 29]
    |                |- warning: static property 'strikethrough' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'strikethrough' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 | }
 22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:56:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 |     // MARK: Normal text colors
 56 |     public static let black = apply(style:getColor(color:ANSIColorCode.black, mod: normalText))
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:57:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 55 |     // MARK: Normal text colors
 56 |     public static let black = apply(style:getColor(color:ANSIColorCode.black, mod: normalText))
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
    |                       |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:58:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 56 |     public static let black = apply(style:getColor(color:ANSIColorCode.black, mod: normalText))
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
    |                       |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:59:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 57 |     public static let red = apply(style:getColor(color:ANSIColorCode.red, mod: normalText))
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
    |                       |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'yellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:60:23: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 58 |     public static let green = apply(style:getColor(color:ANSIColorCode.green, mod: normalText))
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
    |                       |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:61:23: warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |     public static let yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: normalText))
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
    |                       |- warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'magenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
 63 |     public static let white = apply(style:getColor(color:ANSIColorCode.white, mod: normalText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:62:23: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |     public static let blue = apply(style:getColor(color:ANSIColorCode.blue, mod: normalText))
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
    |                       |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'cyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     public static let white = apply(style:getColor(color:ANSIColorCode.white, mod: normalText))
 64 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:63:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 61 |     public static let magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: normalText))
 62 |     public static let cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: normalText))
 63 |     public static let white = apply(style:getColor(color:ANSIColorCode.white, mod: normalText))
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Bright text colors
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:66:23: warning: static property 'Black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 |     // MARK: Bright text colors
 66 |     public static let Black = apply(style:getColor(color:ANSIColorCode.black, mod: brightText))
    |                       |- warning: static property 'Black' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Black' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:67:23: warning: static property 'Red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 65 |     // MARK: Bright text colors
 66 |     public static let Black = apply(style:getColor(color:ANSIColorCode.black, mod: brightText))
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
    |                       |- warning: static property 'Red' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Red' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:68:23: warning: static property 'Green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 66 |     public static let Black = apply(style:getColor(color:ANSIColorCode.black, mod: brightText))
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
    |                       |- warning: static property 'Green' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Green' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:69:23: warning: static property 'Yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 67 |     public static let Red = apply(style:getColor(color:ANSIColorCode.red, mod: brightText))
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
    |                       |- warning: static property 'Yellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Yellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:70:23: warning: static property 'Blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |     public static let Green = apply(style:getColor(color:ANSIColorCode.green, mod: brightText))
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
    |                       |- warning: static property 'Blue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Blue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:71:23: warning: static property 'Magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |     public static let Yellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightText))
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
    |                       |- warning: static property 'Magenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Magenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
 73 |     public static let White = apply(style:getColor(color:ANSIColorCode.white, mod: brightText))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:72:23: warning: static property 'Cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 70 |     public static let Blue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightText))
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
    |                       |- warning: static property 'Cyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'Cyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     public static let White = apply(style:getColor(color:ANSIColorCode.white, mod: brightText))
 74 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:73:23: warning: static property 'White' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 71 |     public static let Magenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightText))
 72 |     public static let Cyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightText))
 73 |     public static let White = apply(style:getColor(color:ANSIColorCode.white, mod: brightText))
    |                       |- warning: static property 'White' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'White' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |
 75 |     // MARK: Normal background colors
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:76:23: warning: static property 'bgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     // MARK: Normal background colors
 76 |     public static let bgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: bg))
    |                       |- warning: static property 'bgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgBlack' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:77:23: warning: static property 'bgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 75 |     // MARK: Normal background colors
 76 |     public static let bgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: bg))
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
    |                       |- warning: static property 'bgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgRed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:78:23: warning: static property 'bgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static let bgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: bg))
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
    |                       |- warning: static property 'bgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgGreen' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:79:23: warning: static property 'bgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 77 |     public static let bgRed = apply(style:getColor(color:ANSIColorCode.red, mod: bg))
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
    |                       |- warning: static property 'bgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgYellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:80:23: warning: static property 'bgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static let bgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: bg))
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
    |                       |- warning: static property 'bgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgBlue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:81:23: warning: static property 'bgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |     public static let bgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: bg))
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
    |                       |- warning: static property 'bgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgMagenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
 83 |     public static let bgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: bg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:82:23: warning: static property 'bgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static let bgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: bg))
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
    |                       |- warning: static property 'bgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgCyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     public static let bgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: bg))
 84 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:83:23: warning: static property 'bgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |     public static let bgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: bg))
 82 |     public static let bgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: bg))
 83 |     public static let bgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: bg))
    |                       |- warning: static property 'bgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bgWhite' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     // MARK: Bright background colors
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:86:23: warning: static property 'BgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 84 |
 85 |     // MARK: Bright background colors
 86 |     public static let BgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: brightBg))
    |                       |- warning: static property 'BgBlack' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgBlack' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:87:23: warning: static property 'BgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     // MARK: Bright background colors
 86 |     public static let BgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: brightBg))
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
    |                       |- warning: static property 'BgRed' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgRed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:88:23: warning: static property 'BgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 86 |     public static let BgBlack = apply(style:getColor(color:ANSIColorCode.black, mod: brightBg))
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
    |                       |- warning: static property 'BgGreen' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgGreen' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:89:23: warning: static property 'BgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 87 |     public static let BgRed = apply(style:getColor(color:ANSIColorCode.red, mod: brightBg))
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
    |                       |- warning: static property 'BgYellow' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgYellow' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:90:23: warning: static property 'BgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 88 |     public static let BgGreen = apply(style:getColor(color:ANSIColorCode.green, mod: brightBg))
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
    |                       |- warning: static property 'BgBlue' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgBlue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:91:23: warning: static property 'BgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 89 |     public static let BgYellow = apply(style:getColor(color:ANSIColorCode.yellow, mod: brightBg))
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
    |                       |- warning: static property 'BgMagenta' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgMagenta' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
 93 |     public static let BgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: brightBg))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:92:23: warning: static property 'BgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 90 |     public static let BgBlue = apply(style:getColor(color:ANSIColorCode.blue, mod: brightBg))
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
    |                       |- warning: static property 'BgCyan' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgCyan' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |     public static let BgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: brightBg))
 94 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:93:23: warning: static property 'BgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 91 |     public static let BgMagenta = apply(style:getColor(color:ANSIColorCode.magenta, mod: brightBg))
 92 |     public static let BgCyan = apply(style:getColor(color:ANSIColorCode.cyan, mod: brightBg))
 93 |     public static let BgWhite = apply(style:getColor(color:ANSIColorCode.white, mod: brightBg))
    |                       |- warning: static property 'BgWhite' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'BgWhite' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 94 |
 95 |     // MARK: Text modifiers
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:96:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |
 95 |     // MARK: Text modifiers
 96 |     public static let bold = apply(style:ANSIModifiers.bold)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:97:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 95 |     // MARK: Text modifiers
 96 |     public static let bold = apply(style:ANSIModifiers.bold)
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:98:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |     public static let bold = apply(style:ANSIModifiers.bold)
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
100 |     public static let underline = apply(style:ANSIModifiers.underline)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:99:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 97 |     public static let blink = apply(style:ANSIModifiers.blink)
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |     public static let underline = apply(style:ANSIModifiers.underline)
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:100:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |     public static let dim = apply(style:ANSIModifiers.dim)
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
100 |     public static let underline = apply(style:ANSIModifiers.underline)
    |                       |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:101:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
 99 |     public static let italic = apply(style:ANSIModifiers.italic)
100 |     public static let underline = apply(style:ANSIModifiers.underline)
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
103 |     public static let strikethrough = apply(style:ANSIModifiers.strikethrough)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:102:23: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
100 |     public static let underline = apply(style:ANSIModifiers.underline)
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
    |                       |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     public static let strikethrough = apply(style:ANSIModifiers.strikethrough)
104 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Colors.swift:103:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
101 |     public static let inverse = apply(style:ANSIModifiers.inverse)
102 |     public static let hidden = apply(style:ANSIModifiers.hidden)
103 |     public static let strikethrough = apply(style:ANSIModifiers.strikethrough)
    |                       |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[951/954] Compiling nostr_cc CLI + KeyPair.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:10:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | extension CLI {
 9 | 	struct KeyPair:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 | 			commandName: "keypair",
12 | 			abstract: "manage keypair",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import nostr
 3 | import QuickJSON
   :
 8 | extension CLI {
 9 | 	struct KeyPair:AsyncParsableCommand {
10 | 		static let configuration = CommandConfiguration(
   |              |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 			commandName: "keypair",
12 | 			abstract: "manage keypair",
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:17:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 		struct Import:AsyncParsableCommand {
17 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | 				commandName: "import",
19 | 				abstract: "import a keypair from input. the file will be saved in the current directory with a specified output name."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:46:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | 		struct Generate:AsyncParsableCommand {
46 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | 				commandName: "generate",
48 | 				abstract: "generate a new key of a specified name. the key will be exported to a file in the current working directory."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + KeyPair.swift:74:15: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | 		struct Info:AsyncParsableCommand {
74 | 			static let configuration = CommandConfiguration(
   |               |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | 				commandName: "info",
76 | 				abstract: "get info about a keypair file"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
[951/954] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture arm64:
  "protocol descriptor for nostr.NOSTR_bech32", referenced from:
      l_got.$s5nostr12NOSTR_bech32Mp in PublicKey.swift.o
      l_got.$s5nostr12NOSTR_bech32Mp in SecretKey.swift.o
  "protocol descriptor for nostr.NOSTR_bech32_raw", referenced from:
      l_got.$s5nostr16NOSTR_bech32_rawMp in PublicKey.swift.o
      l_got.$s5nostr16NOSTR_bech32_rawMp in SecretKey.swift.o
  "(extension in nostr):nostr.NOSTR_bech32_raw.NOSTR_bech32() -> Swift.String", referenced from:
      protocol witness for nostr.NOSTR_bech32.NOSTR_bech32() -> Swift.String in conformance nostr.PublicKey : nostr.NOSTR_bech32 in nostr in PublicKey.swift.o
      nostr.PublicKey.npubString() -> Swift.String in PublicKey.swift.o
      protocol witness for nostr.NOSTR_bech32.NOSTR_bech32() -> Swift.String in conformance nostr.SecretKey : nostr.NOSTR_bech32 in nostr in SecretKey.swift.o
      nostr.SecretKey.nsecString() -> Swift.String in SecretKey.swift.o
  "(extension in nostr):nostr.NOSTR_bech32_raw.init(NOSTR_bech32: Swift.String) throws -> A", referenced from:
      protocol witness for nostr.NOSTR_bech32.init(NOSTR_bech32: Swift.String) throws -> A in conformance nostr.PublicKey : nostr.NOSTR_bech32 in nostr in PublicKey.swift.o
      nostr.PublicKey.init(npubString: Swift.String) throws -> nostr.PublicKey in PublicKey.swift.o
      protocol witness for nostr.NOSTR_bech32.init(NOSTR_bech32: Swift.String) throws -> A in conformance nostr.SecretKey : nostr.NOSTR_bech32 in nostr in SecretKey.swift.o
      nostr.SecretKey.init(nsec: Swift.String) throws -> nostr.SecretKey in SecretKey.swift.o
  "static (extension in nostr):nostr.NOSTR_bech32_raw.NOSTR_bech32_TL_DEF.getter : nostr.NOSTR_bech32_TL_DEF?", referenced from:
      protocol witness for static nostr.NOSTR_bech32.NOSTR_bech32_TL_DEF.getter : nostr.NOSTR_bech32_TL_DEF? in conformance nostr.PublicKey : nostr.NOSTR_bech32 in nostr in PublicKey.swift.o
      protocol witness for static nostr.NOSTR_bech32.NOSTR_bech32_TL_DEF.getter : nostr.NOSTR_bech32_TL_DEF? in conformance nostr.SecretKey : nostr.NOSTR_bech32 in nostr in SecretKey.swift.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[952/954] Linking nostr-cc
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/5] Write swift-version-2F0A5646E1D333AE.txt
[3/151] Compiling SystemPackage FilePathWindows.swift
[4/151] Compiling SystemPackage FilePermissions.swift
[5/152] Compiling Atomics Primitives.native.swift
[6/153] Emitting module RAW
[7/153] Compiling RAW RAW.swift
[8/153] Compiling SystemPackage Syscalls.swift
[9/153] Compiling SystemPackage WindowsSyscallAdapters.swift
[10/153] Compiling Logging MetadataProvider.swift
[11/153] Compiling SystemPackage Errno.swift
[12/153] Compiling SystemPackage FileDescriptor.swift
[13/153] Compiling SystemPackage Exports.swift
[14/153] Compiling SystemPackage Mocking.swift
[15/153] Compiling Logging Locks.swift
[16/153] Emitting module Logging
[17/153] Compiling NIOConcurrencyHelpers NIOLock.swift
[20/153] Compiling QuickJSON dc_single.swift
[21/154] Compiling Crypto AESWrap.swift
[22/154] Compiling Crypto AESWrap_boring.swift
[23/154] Compiling Crypto Ed25519_boring.swift
[24/154] Compiling Crypto EllipticCurvePoint_boring.swift
[25/154] Compiling Crypto EllipticCurve_boring.swift
[26/154] Compiling Crypto NISTCurvesKeys_boring.swift
[27/154] Compiling Crypto X25519Keys_boring.swift
[28/160] Compiling Crypto EdDSA.swift
[29/160] Compiling Crypto Signature.swift
[30/160] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[31/160] Compiling Crypto CryptoKitErrors_boring.swift
[32/160] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[33/160] Compiling Crypto RNG_boring.swift
[34/160] Compiling QuickJSON dc_unkeyed.swift
[35/160] Compiling SystemPackage FileHelpers.swift
[36/160] Compiling SystemPackage FileOperations.swift
[39/160] Compiling Crypto Curve25519.swift
[40/160] Compiling Crypto Ed25519.swift
[41/160] Compiling Crypto NISTCurvesKeys.swift
[42/160] Compiling Crypto X25519Keys.swift
[43/160] Compiling Crypto SymmetricKeys.swift
[44/160] Compiling Crypto HMAC.swift
[45/160] Compiling Crypto MACFunctions.swift
[46/160] Compiling Crypto MessageAuthenticationCode.swift
[47/160] Compiling Crypto AES.swift
[48/160] Compiling Crypto ECDSASignature_boring.swift
[49/160] Compiling Crypto ECDSA_boring.swift
[50/160] Compiling Crypto EdDSA_boring.swift
[51/160] Compiling Crypto ECDSA.swift
[52/160] Compiling QuickJSON dc_keyed.swift
[53/160] Compiling QuickJSON QuickJSON.swift
[57/160] Compiling SystemPackage FilePath.swift
[58/160] Compiling SystemPackage FilePathComponentView.swift
[59/160] Compiling SystemPackage CInterop.swift
[60/160] Compiling SystemPackage Constants.swift
[61/160] Compiling Crypto HashFunctions_SHA2.swift
[62/160] Compiling Crypto Insecure.swift
[63/160] Compiling Crypto Insecure_HashFunctions.swift
[64/160] Compiling Crypto ECDH_boring.swift
[65/160] Compiling Crypto DH.swift
[66/160] Compiling Crypto ECDH.swift
[67/160] Compiling Crypto HKDF.swift
[68/160] Compiling SystemPackage FilePathString.swift
[69/160] Compiling SystemPackage FilePathSyntax.swift
[70/160] Compiling SystemPackage FilePathComponents.swift
[71/160] Compiling SystemPackage FilePathParsing.swift
[75/179] Compiling QuickJSON decoder.swift
[76/179] Compiling QuickJSON ec_keyed.swift
[77/179] Compiling secp256k1_implementation secp256k1.swift
[78/179] Compiling secp256k1_implementation Digest.swift
[79/179] Compiling secp256k1_implementation ECDSA.swift
[80/179] Compiling secp256k1_implementation EdDSA.swift
[81/179] Compiling SystemPackage PlatformString.swift
[82/179] Compiling SystemPackage SystemString.swift
[83/179] Compiling Crypto PKCS8PrivateKey.swift
[84/179] Compiling Crypto SEC1PrivateKey.swift
[85/179] Compiling Crypto SubjectPublicKeyInfo.swift
[86/179] Compiling Crypto CryptoKitErrors.swift
[87/179] Compiling Crypto Digest_boring.swift
[88/179] Compiling Crypto Digest.swift
[89/179] Compiling Crypto Digests.swift
[90/179] Compiling Crypto HashFunctions.swift
[91/179] Emitting module QuickJSON
[92/179] Compiling QuickJSON encoder.swift
[93/179] Compiling QuickJSON ec_unkeyed.swift
[94/179] Compiling NIOConcurrencyHelpers lock.swift
[95/179] Compiling DequeModule _UnsafeWrappedBuffer.swift
[96/179] Emitting module Crypto
[97/179] Compiling QuickJSON ec_single.swift
[98/179] Compiling Atomics PointerConformances.swift
[99/179] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[100/179] Compiling secp256k1_implementation Errors.swift
[101/179] Compiling secp256k1_implementation PrettyBytes.swift
[102/179] Compiling secp256k1_implementation SHA256.swift
[103/179] Compiling secp256k1_implementation SafeCompare.swift
[104/179] Compiling secp256k1_implementation Schnorr.swift
[105/179] Compiling secp256k1_implementation Tweak.swift
[106/179] Emitting module NIOConcurrencyHelpers
[107/179] Compiling Atomics IntegerConformances.swift
[108/179] Compiling secp256k1_implementation Asymmetric.swift
[109/179] Compiling secp256k1_implementation DH.swift
[110/179] Compiling QuickJSON extensions.swift
[111/179] Compiling ArgumentParserToolInfo ToolInfo.swift
[112/179] Emitting module ArgumentParserToolInfo
[113/179] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[114/179] Compiling NIOConcurrencyHelpers atomics.swift
[115/179] Compiling secp256k1_implementation Utility.swift
[116/179] Compiling secp256k1_implementation Zeroization.swift
[131/184] Compiling secp256k1_implementation Digests.swift
[132/184] Compiling secp256k1_implementation ECDH.swift
[133/184] Compiling secp256k1_implementation Signature.swift
[134/184] Compiling secp256k1_implementation RNG_boring.swift
[137/222] Emitting module DequeModule
[138/222] Compiling ArgumentParser Argument.swift
[139/222] Compiling ArgumentParser ArgumentHelp.swift
[140/222] Emitting module SystemPackage
[141/222] Compiling ArgumentParser FishCompletionsGenerator.swift
[142/222] Compiling ArgumentParser ZshCompletionsGenerator.swift
[143/222] Compiling ArgumentParser BashCompletionsGenerator.swift
[144/222] Compiling ArgumentParser CompletionsGenerator.swift
[145/222] Compiling ArgumentParser HelpCommand.swift
[146/222] Compiling ArgumentParser InputOrigin.swift
[147/222] Compiling ArgumentParser Name.swift
[148/222] Compiling ArgumentParser Parsed.swift
[149/222] Compiling ArgumentParser Errors.swift
[150/222] Compiling ArgumentParser ParserError.swift
[153/224] Compiling ArgumentParser ArgumentVisibility.swift
[154/224] Compiling ArgumentParser CompletionKind.swift
[157/224] Compiling ArgumentParser ParsedValues.swift
[158/224] Compiling ArgumentParser AsyncParsableCommand.swift
[159/224] Compiling ArgumentParser SplitArguments.swift
[160/224] Compiling ArgumentParser DumpHelpGenerator.swift
[163/224] Emitting module secp256k1_implementation
[164/224] Compiling Logging LogHandler.swift
[165/224] Compiling Logging Logging.swift
[166/224] Compiling Atomics Primitives.shims.swift
[167/224] Compiling _NIODataStructures PriorityQueue.swift
[168/224] Compiling _NIODataStructures Heap.swift
[169/224] Emitting module _NIODataStructures
[170/224] Compiling Crypto SafeCompare_boring.swift
[171/224] Compiling Crypto Zeroization_boring.swift
[172/224] Compiling Crypto PrettyBytes.swift
[173/224] Compiling Crypto SafeCompare.swift
[174/224] Compiling Crypto SecureBytes.swift
[175/224] Compiling Crypto Zeroization.swift
[176/224] Compiling ArgumentParser ExpressibleByArgument.swift
[177/224] Compiling ArgumentParser HelpGenerator.swift
[178/224] Emitting module Atomics
[179/224] Emitting module ArgumentParser
[180/228] Compiling ArgumentParser Flag.swift
[181/228] Compiling ArgumentParser NameSpecification.swift
[182/228] Compiling ArgumentParser Option.swift
[183/228] Compiling ArgumentParser OptionGroup.swift
[184/228] Compiling secp256k1_implementation SecureBytes.swift
[185/228] Compiling secp256k1_implementation BytesUtil.swift
[186/259] Compiling NIOCore AsyncChannelOutboundWriter.swift
[187/259] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[188/259] Compiling NIOCore CircularBuffer.swift
[189/259] Compiling NIOCore Codec.swift
[190/260] Compiling NIOCore AddressedEnvelope.swift
[191/260] Compiling NIOCore AsyncAwaitSupport.swift
[192/260] Compiling NIOCore AsyncChannel.swift
[193/260] Compiling NIOCore AsyncChannelInboundStream.swift
[194/260] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[195/287] Compiling NIOCore Channel.swift
[196/287] Compiling NIOCore ChannelHandler.swift
[197/287] Compiling NIOCore ChannelHandlers.swift
[198/287] Compiling NIOCore ChannelInvoker.swift
[199/287] Compiling NIOCore ChannelOption.swift
[200/287] Compiling NIOCore ChannelPipeline.swift
[201/287] Compiling NIOCore FileRegion.swift
[202/287] Compiling NIOCore IO.swift
[203/287] Compiling NIOCore ConvenienceOptionSupport.swift
[204/287] Compiling NIOCore DeadChannel.swift
[205/287] Compiling NIOCore DispatchQueue+WithFuture.swift
[206/287] Compiling NIOCore EventLoop+Deprecated.swift
[207/287] Compiling NIOCore CloseRatchet.swift
[208/287] Compiling NIOCore NIOAsyncSequenceProducer.swift
[209/287] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[210/287] Compiling NIOCore NIOAsyncWriter.swift
[211/287] Emitting module secp256k1
[212/287] Compiling secp256k1 EntryPoint.swift
[213/287] Compiling NIOCore NIOLoopBound.swift
[214/287] Compiling NIOCore NIOSendable.swift
[215/287] Compiling NIOCore PointerHelpers.swift
[216/287] Compiling NIOCore RecvByteBufferAllocator.swift
[217/287] Compiling NIOCore IOData.swift
[218/287] Compiling NIOCore IPProtocol.swift
[219/287] Compiling NIOCore IntegerBitPacking.swift
[220/287] Compiling NIOCore IntegerTypes.swift
[221/287] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[222/287] Compiling NIOCore SocketAddresses.swift
[223/287] Compiling NIOCore ByteBuffer-conversions.swift
[224/287] Compiling NIOCore ByteBuffer-core.swift
[225/287] Compiling NIOCore Interfaces.swift
[226/287] Compiling NIOCore Linux.swift
[227/287] Compiling NIOCore MarkedCircularBuffer.swift
[228/287] Compiling NIOCore MulticastChannel.swift
[229/287] Compiling NIOCore NIOAny.swift
[230/287] Compiling NIOCore NIOCloseOnErrorHandler.swift
[231/293] Compiling NIOCore EventLoop.swift
[232/293] Compiling NIOCore EventLoopFuture+Deprecated.swift
[233/293] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[234/293] Compiling NIOCore EventLoopFuture.swift
[235/293] Compiling NIOCore FileDescriptor.swift
[236/293] Compiling NIOCore FileHandle.swift
[241/293] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[242/293] Compiling NIOCore BSDSocketAPI.swift
[243/293] Compiling NIOCore ByteBuffer-aux.swift
[244/293] Compiling NIOCore SocketOptionProvider.swift
[245/293] Compiling NIOCore SystemCallHelpers.swift
[246/293] Compiling NIOCore TimeAmount+Duration.swift
[247/293] Compiling NIOCore TypeAssistedChannelHandler.swift
[248/293] Compiling NIOCore UniversalBootstrapSupport.swift
[249/293] Compiling NIOCore Utilities.swift
[265/293] Compiling NIOCore ByteBuffer-int.swift
[266/293] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[267/293] Compiling NIOCore ByteBuffer-multi-int.swift
[268/293] Compiling NIOCore ByteBuffer-views.swift
[287/293] Compiling ExtrasBase64 Base64.swift
[288/293] Emitting module ExtrasBase64
[289/293] Compiling ExtrasBase64 Base32.swift
[290/293] Emitting module NIOCore
[291/341] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[292/341] Emitting module NIOEmbedded
[293/341] Compiling NIOEmbedded AsyncTestingChannel.swift
[294/341] Compiling NIOEmbedded Embedded.swift
[295/341] Compiling NIOPosix BSDSocketAPICommon.swift
[296/341] Compiling NIOPosix BSDSocketAPIPosix.swift
[297/341] Compiling NIOPosix BSDSocketAPIWindows.swift
[298/341] Compiling NIOPosix BaseSocket.swift
[299/341] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[300/345] Compiling NIOPosix Resolver.swift
[301/345] Compiling NIOPosix Selectable.swift
[302/345] Compiling NIOPosix SelectableChannel.swift
[303/345] Compiling NIOPosix SelectableEventLoop.swift
[304/345] Compiling NIOPosix SelectorEpoll.swift
[305/345] Compiling NIOPosix FileDescriptor.swift
[306/345] Compiling NIOPosix GetaddrinfoResolver.swift
[307/345] Compiling NIOPosix HappyEyeballs.swift
[308/345] Compiling NIOPosix IO.swift
[309/345] Compiling NIOPosix IntegerBitPacking.swift
[310/345] Compiling NIOPosix PipePair.swift
[311/345] Compiling NIOPosix PointerHelpers.swift
[312/345] Compiling NIOPosix Pool.swift
[313/345] Compiling NIOPosix PooledRecvBufferAllocator.swift
[314/345] Compiling NIOPosix RawSocketBootstrap.swift
[315/345] Compiling NIOPosix IntegerTypes.swift
[316/345] Compiling NIOPosix Linux.swift
[317/345] Compiling NIOPosix LinuxCPUSet.swift
[318/345] Compiling NIOPosix LinuxUring.swift
[319/345] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[320/345] Compiling NIOPosix SelectorGeneric.swift
[321/345] Compiling NIOPosix SelectorKqueue.swift
[322/345] Compiling NIOPosix SelectorUring.swift
[323/345] Compiling NIOPosix ServerSocket.swift
[324/345] Emitting module NIOPosix
[325/345] Compiling NIOPosix Thread.swift
[326/345] Compiling NIOPosix ThreadPosix.swift
[327/345] Compiling NIOPosix ThreadWindows.swift
[328/345] Compiling NIOPosix Utilities.swift
[329/345] Compiling NIOPosix Socket.swift
[330/345] Compiling NIOPosix SocketChannel.swift
[331/345] Compiling NIOPosix SocketProtocols.swift
[332/345] Compiling NIOPosix System.swift
[333/345] Compiling NIOPosix NIOThreadPool.swift
[334/345] Compiling NIOPosix NonBlockingFileIO.swift
[335/345] Compiling NIOPosix PendingDatagramWritesManager.swift
[336/345] Compiling NIOPosix PendingWritesManager.swift
[337/345] Compiling NIOPosix PipeChannel.swift
[338/345] Compiling NIOPosix BaseSocketChannel.swift
[339/345] Compiling NIOPosix BaseStreamSocketChannel.swift
[340/345] Compiling NIOPosix Bootstrap.swift
[341/345] Compiling NIOPosix ControlMessage.swift
[342/345] Compiling NIOPosix DatagramVectorReadManager.swift
[343/347] Compiling NIO Exports.swift
[344/347] Emitting module NIO
[345/365] Compiling NIOTLS TLSEvents.swift
[346/365] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[347/366] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[348/366] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[349/366] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[350/366] Emitting module NIOTLS
[351/366] Compiling NIOTLS SNIHandler.swift
[352/393] Emitting module NIOHTTP1
[353/393] Compiling NIOSSL SSLInit.swift
[354/393] Compiling NIOSSL SSLPKCS12Bundle.swift
[355/393] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[356/393] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[357/393] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[358/393] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[359/393] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[360/393] Compiling NIOSSL SSLPrivateKey.swift
[361/393] Compiling NIOSSL SSLConnection.swift
[362/393] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[363/393] Compiling NIOHTTP1 HTTPTypes.swift
[364/393] Compiling NIOSSL SafeCompare.swift
[365/393] Compiling NIOSSL Zeroization.swift
[366/406] Compiling NIOWebSocket SHA1.swift
[367/407] Compiling NIOWebSocket WebSocketOpcode.swift
[368/407] Compiling NIOWebSocket Base64.swift
[369/407] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[371/407] Compiling NIOSSL LinuxCABundle.swift
[372/407] Compiling NIOSSL NIOSSLClientHandler.swift
[373/407] Compiling NIOSSL NIOSSLHandler.swift
[374/407] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[375/407] Compiling NIOSSL ByteBufferBIO.swift
[376/407] Compiling NIOSSL CustomPrivateKey.swift
[377/407] Compiling NIOSSL IdentityVerification.swift
[378/407] Emitting module NIOSSL
[379/407] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[380/407] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[381/407] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[382/407] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[383/407] Compiling NIOSSL SSLCallbacks.swift
[384/407] Compiling NIOSSL SSLCertificate.swift
[385/407] Compiling NIOSSL SSLCertificateExtensions.swift
[386/407] Compiling NIOSSL SSLPublicKey.swift
[387/407] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[388/407] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[389/407] Compiling NIOSSL SubjectAlternativeName.swift
[390/407] Compiling NIOSSL NIOSSLSecureBytes.swift
[391/407] Compiling NIOSSL RNG.swift
[392/407] Compiling NIOSSL NIOSSLServerHandler.swift
[393/407] Compiling NIOSSL ObjectIdentifier.swift
[394/407] Compiling NIOSSL PosixPort.swift
[395/407] Compiling NIOWebSocket WebSocketErrorCodes.swift
[396/407] Compiling NIOWebSocket WebSocketFrame.swift
[397/407] Emitting module NIOWebSocket
[400/407] Compiling NIOSSL TLSConfiguration.swift
[401/407] Compiling NIOSSL UniversalBootstrapSupport.swift
[403/407] Compiling NIOSSL SSLContext.swift
[404/407] Compiling NIOSSL SSLErrors.swift
[405/459] Compiling nostr Relay + Catcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:21: warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                     `- warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:32: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                                `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
[406/459] Compiling nostr Relay + Consumable.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:21: warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                     `- warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:32: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                                `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
[407/459] Compiling nostr Relay + Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:21: warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                     `- warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:32: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                                `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
[408/459] Compiling nostr Relay + Handler.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:21: warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                     `- warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:32: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                                `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
[409/459] Compiling nostr Relay + Publishing.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:21: warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                     `- warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:32: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                                `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
[410/459] Compiling nostr Relay.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:21: warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                     `- warning: immutable value 'subID' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Network/NIO/Relay/Relay + Catcher.swift:57:32: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
55 | 				case .event(let context):
56 | 					switch context {
57 | 						case .sub(let subID, let event):
   |                                `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
58 | 							#if DEBUG
59 | 							self.logger.trace("got write event.")
[411/464] Compiling nostr Errors.swift
[412/464] Compiling nostr Event + Commitment.swift
[413/464] Compiling nostr Event + Kind.swift
[414/464] Compiling nostr Event + NIP42.swift
[415/464] Compiling nostr Event.swift
[416/464] Compiling nostr Event + Tag + Name.swift
[417/464] Emitting module nostr
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/TAG/Instance/Name/NOSTR_tag_name_generic.swift:22:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | }
21 |
22 | extension Character:NOSTR_tag_name_generic {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 | 	public var NOSTR_tag_name_generic:Character {
24 | 		return self
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Utils/Extensions/ByteBuffer.swift:5:1: warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | import RAW
 4 |
 5 | extension UnsafeRawBufferPointer:RAW_encodable {
   | |- warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func asRAW_val<R>(_ valFunc: (inout RAW.RAW_val) throws -> R) rethrows -> R {
 7 |         var raw = RAW_val(mv_size:self.count, mv_data:UnsafeMutableRawPointer(mutating:self.baseAddress))
[418/464] Compiling nostr Event + Tag.swift
[419/464] Compiling nostr Event + Tags.swift
[420/464] Compiling nostr Filter.swift
[421/464] Compiling nostr Date.swift
[422/464] Compiling nostr Event + Signature.swift
[423/464] Compiling nostr Event + UID.swift
[424/464] Compiling nostr KeyPair.swift
[425/464] Compiling nostr PublicKey.swift
[426/464] Compiling nostr SecretKey.swift
[427/464] Compiling nostr Hex.swift
[428/464] Compiling nostr Message.swift
[429/464] Compiling nostr ClientConfiguration.swift
[430/464] Compiling nostr NOSTR_tag_name.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/TAG/Instance/Name/NOSTR_tag_name_generic.swift:22:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | }
21 |
22 | extension Character:NOSTR_tag_name_generic {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 | 	public var NOSTR_tag_name_generic:Character {
24 | 		return self
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Utils/Extensions/ByteBuffer.swift:5:1: warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | import RAW
 4 |
 5 | extension UnsafeRawBufferPointer:RAW_encodable {
   | |- warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func asRAW_val<R>(_ valFunc: (inout RAW.RAW_val) throws -> R) rethrows -> R {
 7 |         var raw = RAW_val(mv_size:self.count, mv_data:UnsafeMutableRawPointer(mutating:self.baseAddress))
[431/464] Compiling nostr NOSTR_tag_name_generic.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/TAG/Instance/Name/NOSTR_tag_name_generic.swift:22:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | }
21 |
22 | extension Character:NOSTR_tag_name_generic {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 | 	public var NOSTR_tag_name_generic:Character {
24 | 		return self
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Utils/Extensions/ByteBuffer.swift:5:1: warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | import RAW
 4 |
 5 | extension UnsafeRawBufferPointer:RAW_encodable {
   | |- warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func asRAW_val<R>(_ valFunc: (inout RAW.RAW_val) throws -> R) rethrows -> R {
 7 |         var raw = RAW_val(mv_size:self.count, mv_data:UnsafeMutableRawPointer(mutating:self.baseAddress))
[432/464] Compiling nostr NOSTR_tagged.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/TAG/Instance/Name/NOSTR_tag_name_generic.swift:22:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | }
21 |
22 | extension Character:NOSTR_tag_name_generic {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 | 	public var NOSTR_tag_name_generic:Character {
24 | 		return self
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Utils/Extensions/ByteBuffer.swift:5:1: warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | import RAW
 4 |
 5 | extension UnsafeRawBufferPointer:RAW_encodable {
   | |- warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func asRAW_val<R>(_ valFunc: (inout RAW.RAW_val) throws -> R) rethrows -> R {
 7 |         var raw = RAW_val(mv_size:self.count, mv_data:UnsafeMutableRawPointer(mutating:self.baseAddress))
[433/464] Compiling nostr ByteBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/TAG/Instance/Name/NOSTR_tag_name_generic.swift:22:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | }
21 |
22 | extension Character:NOSTR_tag_name_generic {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 | 	public var NOSTR_tag_name_generic:Character {
24 | 		return self
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Utils/Extensions/ByteBuffer.swift:5:1: warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | import RAW
 4 |
 5 | extension UnsafeRawBufferPointer:RAW_encodable {
   | |- warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func asRAW_val<R>(_ valFunc: (inout RAW.RAW_val) throws -> R) rethrows -> R {
 7 |         var raw = RAW_val(mv_size:self.count, mv_data:UnsafeMutableRawPointer(mutating:self.baseAddress))
[434/464] Compiling nostr FlatDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/TAG/Instance/Name/NOSTR_tag_name_generic.swift:22:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | }
21 |
22 | extension Character:NOSTR_tag_name_generic {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'ExpressibleByStringLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 | 	public var NOSTR_tag_name_generic:Character {
24 | 		return self
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Utils/Extensions/ByteBuffer.swift:5:1: warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 3 | import RAW
 4 |
 5 | extension UnsafeRawBufferPointer:RAW_encodable {
   | |- warning: extension declares a conformance of imported type 'UnsafeRawBufferPointer' to imported protocol 'RAW_encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func asRAW_val<R>(_ valFunc: (inout RAW.RAW_val) throws -> R) rethrows -> R {
 7 |         var raw = RAW_val(mv_size:self.count, mv_data:UnsafeMutableRawPointer(mutating:self.baseAddress))
[435/464] Compiling nostr NOSTR_kind.swift
[436/464] Compiling nostr NOSTR_message.swift
[437/464] Compiling nostr NOSTR_tag_addlfield.swift
[438/464] Compiling nostr NOSTR_tag_infofield.swift
[439/464] Compiling nostr NOSTR_tag.swift
[440/464] Compiling nostr WebSocket + Upgrader.swift
[441/464] Compiling nostr WebSocket + FrameSequence.swift
[442/464] Compiling nostr WebSocket + Handler.swift
[443/464] Compiling nostr WebSocket.swift
[444/464] Compiling nostr BECH32.swift
[445/464] Compiling nostr HEX_convertible.swift
[446/464] Compiling nostr HEX_decodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/NOSTR_event.swift:75:19: warning: no calls to throwing functions occur within 'try' expression
 73 | 	}
 74 | 	public func encode(to encoder:Swift.Encoder) throws {
 75 | 		var container = try encoder.container(keyedBy: nostr.Event.CodingKeys.self)
    |                   `- warning: no calls to throwing functions occur within 'try' expression
 76 | 		try container.encode(self.uid, forKey:.uid)
 77 | 		try container.encode(self.sig, forKey:.sig)
[447/464] Compiling nostr HEX_encodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/NOSTR_event.swift:75:19: warning: no calls to throwing functions occur within 'try' expression
 73 | 	}
 74 | 	public func encode(to encoder:Swift.Encoder) throws {
 75 | 		var container = try encoder.container(keyedBy: nostr.Event.CodingKeys.self)
    |                   `- warning: no calls to throwing functions occur within 'try' expression
 76 | 		try container.encode(self.uid, forKey:.uid)
 77 | 		try container.encode(self.sig, forKey:.sig)
[448/464] Compiling nostr NOSTR_date.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/NOSTR_event.swift:75:19: warning: no calls to throwing functions occur within 'try' expression
 73 | 	}
 74 | 	public func encode(to encoder:Swift.Encoder) throws {
 75 | 		var container = try encoder.container(keyedBy: nostr.Event.CodingKeys.self)
    |                   `- warning: no calls to throwing functions occur within 'try' expression
 76 | 		try container.encode(self.uid, forKey:.uid)
 77 | 		try container.encode(self.sig, forKey:.sig)
[449/464] Compiling nostr NOSTR_event.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/NOSTR_event.swift:75:19: warning: no calls to throwing functions occur within 'try' expression
 73 | 	}
 74 | 	public func encode(to encoder:Swift.Encoder) throws {
 75 | 		var container = try encoder.container(keyedBy: nostr.Event.CodingKeys.self)
    |                   `- warning: no calls to throwing functions occur within 'try' expression
 76 | 		try container.encode(self.uid, forKey:.uid)
 77 | 		try container.encode(self.sig, forKey:.sig)
[450/464] Compiling nostr NOSTR_filter.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Protocols/NOSTR_event.swift:75:19: warning: no calls to throwing functions occur within 'try' expression
 73 | 	}
 74 | 	public func encode(to encoder:Swift.Encoder) throws {
 75 | 		var container = try encoder.container(keyedBy: nostr.Event.CodingKeys.self)
    |                   `- warning: no calls to throwing functions occur within 'try' expression
 76 | 		try container.encode(self.uid, forKey:.uid)
 77 | 		try container.encode(self.sig, forKey:.sig)
[451/464] Compiling nostr RelayURL + NOSTR_tag_infofield.swift
[452/464] Compiling nostr RelayURL + Parser.swift
[453/464] Compiling nostr RelayURL + Split.swift
[454/464] Compiling nostr RelayURL.swift
[455/464] Compiling nostr RelayURLParameters.swift
[456/464] Compiling nostr RelayInitialHTTPRequestWriter.swift
[457/464] Compiling nostr RandomBytes.swift
[458/464] Compiling nostr SHA1.swift
[459/464] Compiling nostr SHA256.swift
[460/464] Compiling nostr bech32.swift
[461/464] Compiling nostr nostr.swift
[462/473] Compiling nostr_cc nostr-cc.swift
[463/473] Compiling nostr_cc KeyPair.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/Extensions/KeyPair.swift:22:16: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
20 | 			switch hex {
21 | 				case true:
22 | 					print(" \(secretKey.hexEncodedString)")
   |                |         `- note: use 'String(describing:)' to silence this warning
   |                `- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
23 | 				case false:
24 | 					print(" \(secretKey.nsecString())")
[464/473] Compiling nostr_cc Colors.swift
[465/473] Compiling nostr_cc String.swift
[466/473] Compiling nostr_cc CLI.swift
[467/473] Compiling nostr_cc Profile.swift
[468/473] Compiling nostr_cc CLI + Relay.swift
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:34:9: warning: initialization of immutable value 'relayConn' was never used; consider replacing with assignment to '_' or removing it
32 | 				let readKey = try nostr.KeyPair.fromJSONEncodedPath(baseURL)
33 | 				let buildConf = nostr.Relay.Client.Configuration(authenticationKey:readKey)
34 | 				let relayConn = try nostr.Relay.connect(url:nostr.Relay.URL(url), configuration: buildConf, on:mainEventLoop.next()).wait()
   |         `- warning: initialization of immutable value 'relayConn' was never used; consider replacing with assignment to '_' or removing it
35 |
36 | 				sleep(512)
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:74:25: warning: immutable value 'event' was never used; consider replacing with '_' or removing it
72 | 				result.promise.futureResult.whenComplete { getResult in
73 | 					switch getResult {
74 | 						case .success(let event):
   |                         `- warning: immutable value 'event' was never used; consider replacing with '_' or removing it
75 | 							CLI.logger.info("successfully posted event: \(newEvent.uid.description.prefix(8))")
76 | 						case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:75:54: warning: capture of 'newEvent' with non-sendable type 'Event.Signed' in a '@Sendable' closure
73 | 					switch getResult {
74 | 						case .success(let event):
75 | 							CLI.logger.info("successfully posted event: \(newEvent.uid.description.prefix(8))")
   |                                                      `- warning: capture of 'newEvent' with non-sendable type 'Event.Signed' in a '@Sendable' closure
76 | 						case .failure(let error):
77 | 							print("event failed: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/nostr/Event/Event.swift:27:16: note: struct 'Signed' does not conform to the 'Sendable' protocol
 25 |
 26 | 	/// represents an event whose contents are immutable after signing
 27 | 	public struct Signed:NOSTR_event_signed {
    |                `- note: struct 'Signed' does not conform to the 'Sendable' protocol
 28 | 		/// the unique identifier for the event
 29 | 		public let uid:UID
/Users/admin/builder/spi-builder-workspace/Sources/nostr-cc/CLI/CLI + Relay.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'nostr'
 1 | import ArgumentParser
 2 | import NIO
 3 | import nostr
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'nostr'
 4 | import struct Foundation.URL
 5 | import class Foundation.FileManager
[469/473] Emitting module nostr_cc
[470/473] Compiling nostr_cc CLI + KeyPair.swift
[470/473] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture arm64:
  "protocol descriptor for nostr.NOSTR_bech32", referenced from:
      l_got.$s5nostr12NOSTR_bech32Mp in PublicKey.swift.o
      l_got.$s5nostr12NOSTR_bech32Mp in SecretKey.swift.o
  "protocol descriptor for nostr.NOSTR_bech32_raw", referenced from:
      l_got.$s5nostr16NOSTR_bech32_rawMp in PublicKey.swift.o
      l_got.$s5nostr16NOSTR_bech32_rawMp in SecretKey.swift.o
  "(extension in nostr):nostr.NOSTR_bech32_raw.NOSTR_bech32() -> Swift.String", referenced from:
      protocol witness for nostr.NOSTR_bech32.NOSTR_bech32() -> Swift.String in conformance nostr.PublicKey : nostr.NOSTR_bech32 in nostr in PublicKey.swift.o
      nostr.PublicKey.npubString() -> Swift.String in PublicKey.swift.o
      protocol witness for nostr.NOSTR_bech32.NOSTR_bech32() -> Swift.String in conformance nostr.SecretKey : nostr.NOSTR_bech32 in nostr in SecretKey.swift.o
      nostr.SecretKey.nsecString() -> Swift.String in SecretKey.swift.o
  "(extension in nostr):nostr.NOSTR_bech32_raw.init(NOSTR_bech32: Swift.String) throws -> A", referenced from:
      protocol witness for nostr.NOSTR_bech32.init(NOSTR_bech32: Swift.String) throws -> A in conformance nostr.PublicKey : nostr.NOSTR_bech32 in nostr in PublicKey.swift.o
      nostr.PublicKey.init(npubString: Swift.String) throws -> nostr.PublicKey in PublicKey.swift.o
      protocol witness for nostr.NOSTR_bech32.init(NOSTR_bech32: Swift.String) throws -> A in conformance nostr.SecretKey : nostr.NOSTR_bech32 in nostr in SecretKey.swift.o
      nostr.SecretKey.init(nsec: Swift.String) throws -> nostr.SecretKey in SecretKey.swift.o
  "static (extension in nostr):nostr.NOSTR_bech32_raw.NOSTR_bech32_TL_DEF.getter : nostr.NOSTR_bech32_TL_DEF?", referenced from:
      protocol witness for static nostr.NOSTR_bech32.NOSTR_bech32_TL_DEF.getter : nostr.NOSTR_bech32_TL_DEF? in conformance nostr.PublicKey : nostr.NOSTR_bech32 in nostr in PublicKey.swift.o
      protocol witness for static nostr.NOSTR_bech32.NOSTR_bech32_TL_DEF.getter : nostr.NOSTR_bech32_TL_DEF? in conformance nostr.SecretKey : nostr.NOSTR_bech32 in nostr in SecretKey.swift.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[471/473] Linking nostr-cc
BUILD FAILURE 6.1 macosSpm