The Swift Package Index logo.Swift Package Index

Build Information

Successful build of nats-swift, reference main (a9031f), with Swift 6.1 for macOS (SPM) on 11 Apr 2026 14:04:41 UTC.

Swift 6 data race errors: 157

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
370 |
371 |     /// Stream external delivery prefix overlaps with stream subject
372 |     public static let streamExternalDeletePrefixOverlaps = ErrorCode(rawValue: 10022)
    |                       |- warning: static property 'streamExternalDeletePrefixOverlaps' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamExternalDeletePrefixOverlaps' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 |     /// Resource limits exceeded for account
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:375:23: warning: static property 'accountResourcesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
373 |
374 |     /// Resource limits exceeded for account
375 |     public static let accountResourcesExceeded = ErrorCode(rawValue: 10002)
    |                       |- warning: static property 'accountResourcesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'accountResourcesExceeded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 |
377 |     /// Jetstream system temporarily unavailable
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:378:23: warning: static property 'clusterNotAvailable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
376 |
377 |     /// Jetstream system temporarily unavailable
378 |     public static let clusterNotAvailable = ErrorCode(rawValue: 10008)
    |                       |- warning: static property 'clusterNotAvailable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterNotAvailable' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 |
380 |     /// Subjects overlap with an existing stream
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:381:23: warning: static property 'streamSubjectOverlap' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
379 |
380 |     /// Subjects overlap with an existing stream
381 |     public static let streamSubjectOverlap = ErrorCode(rawValue: 10065)
    |                       |- warning: static property 'streamSubjectOverlap' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamSubjectOverlap' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |
383 |     /// Wrong last sequence
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:384:23: warning: static property 'streamWrongLastSequence' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
382 |
383 |     /// Wrong last sequence
384 |     public static let streamWrongLastSequence = ErrorCode(rawValue: 10071)
    |                       |- warning: static property 'streamWrongLastSequence' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamWrongLastSequence' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
385 |
386 |     /// Template name in subject does not match request
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:387:23: warning: static property 'nameNotMatchSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
385 |
386 |     /// Template name in subject does not match request
387 |     public static let nameNotMatchSubject = ErrorCode(rawValue: 10073)
    |                       |- warning: static property 'nameNotMatchSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'nameNotMatchSubject' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 |     /// No suitable peers for placement
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:390:23: warning: static property 'clusterNoPeers' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
388 |
389 |     /// No suitable peers for placement
390 |     public static let clusterNoPeers = ErrorCode(rawValue: 10005)
    |                       |- warning: static property 'clusterNoPeers' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterNoPeers' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 |     /// Consumer expected to be ephemeral but a durable name was set in request
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:393:23: warning: static property 'consumerEphemeralWithDurableName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
391 |
392 |     /// Consumer expected to be ephemeral but a durable name was set in request
393 |     public static let consumerEphemeralWithDurableName = ErrorCode(rawValue: 10020)
    |                       |- warning: static property 'consumerEphemeralWithDurableName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerEphemeralWithDurableName' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 |     /// Insufficient resources
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:396:23: warning: static property 'insufficientResources' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
394 |
395 |     /// Insufficient resources
396 |     public static let insufficientResources = ErrorCode(rawValue: 10023)
    |                       |- warning: static property 'insufficientResources' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'insufficientResources' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 |     /// Stream mirror must have max message size >= source
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:399:23: warning: static property 'mirrorMaxMessageSizeTooBig' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
397 |
398 |     /// Stream mirror must have max message size >= source
399 |     public static let mirrorMaxMessageSizeTooBig = ErrorCode(rawValue: 10030)
    |                       |- warning: static property 'mirrorMaxMessageSizeTooBig' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorMaxMessageSizeTooBig' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 |
401 |     /// Generic error from stream deletion operation
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:402:23: warning: static property 'streamTemplateDeleteFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
400 |
401 |     /// Generic error from stream deletion operation
402 |     public static let streamTemplateDeleteFailed = ErrorCode(rawValue: 10067)
    |                       |- warning: static property 'streamTemplateDeleteFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamTemplateDeleteFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 |
404 |     /// Bad request
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:405:23: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
403 |
404 |     /// Bad request
405 |     public static let badRequest = ErrorCode(rawValue: 10003)
    |                       |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
406 |
407 |     /// Not currently supported in clustered mode
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:408:23: warning: static property 'notSupportedInClusterMode' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
406 |
407 |     /// Not currently supported in clustered mode
408 |     public static let notSupportedInClusterMode = ErrorCode(rawValue: 10036)
    |                       |- warning: static property 'notSupportedInClusterMode' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'notSupportedInClusterMode' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 |
410 |     /// Consumer not found
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:411:23: warning: static property 'consumerNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
409 |
410 |     /// Consumer not found
411 |     public static let consumerNotFound = ErrorCode(rawValue: 10014)
    |                       |- warning: static property 'consumerNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerNotFound' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 |
413 |     /// Stream source must have max message size >= target
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:414:23: warning: static property 'sourceMaxMessageSizeTooBig' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
412 |
413 |     /// Stream source must have max message size >= target
414 |     public static let sourceMaxMessageSizeTooBig = ErrorCode(rawValue: 10046)
    |                       |- warning: static property 'sourceMaxMessageSizeTooBig' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceMaxMessageSizeTooBig' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
415 |
416 |     /// Generic error when stream operation fails.
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:417:23: warning: static property 'streamAssignment' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
415 |
416 |     /// Generic error when stream operation fails.
417 |     public static let streamAssignment = ErrorCode(rawValue: 10048)
    |                       |- warning: static property 'streamAssignment' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamAssignment' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
418 |
419 |     /// Message size exceeds maximum allowed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:420:23: warning: static property 'streamMessageExceedsMaximum' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
418 |
419 |     /// Message size exceeds maximum allowed
420 |     public static let streamMessageExceedsMaximum = ErrorCode(rawValue: 10054)
    |                       |- warning: static property 'streamMessageExceedsMaximum' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMessageExceedsMaximum' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
421 |
422 |     /// Generic error for stream creation error with a string
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:423:23: warning: static property 'streamCreateTemplate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
421 |
422 |     /// Generic error for stream creation error with a string
423 |     public static let streamCreateTemplate = ErrorCode(rawValue: 10066)
    |                       |- warning: static property 'streamCreateTemplate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamCreateTemplate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
424 |
425 |     /// Invalid JSON
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:426:23: warning: static property 'invalidJson' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
424 |
425 |     /// Invalid JSON
426 |     public static let invalidJson = ErrorCode(rawValue: 10025)
    |                       |- warning: static property 'invalidJson' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'invalidJson' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
427 |
428 |     /// Stream external delivery prefix must not contain wildcards
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:429:23: warning: static property 'streamInvalidExternalDeliverySubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
427 |
428 |     /// Stream external delivery prefix must not contain wildcards
429 |     public static let streamInvalidExternalDeliverySubject = ErrorCode(rawValue: 10024)
    |                       |- warning: static property 'streamInvalidExternalDeliverySubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamInvalidExternalDeliverySubject' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
430 |
431 |     /// Restore failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:432:23: warning: static property 'streamRestore' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
430 |
431 |     /// Restore failed
432 |     public static let streamRestore = ErrorCode(rawValue: 10062)
    |                       |- warning: static property 'streamRestore' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamRestore' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
433 |
434 |     /// Incomplete results
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:435:23: warning: static property 'clusterIncomplete' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
433 |
434 |     /// Incomplete results
435 |     public static let clusterIncomplete = ErrorCode(rawValue: 10004)
    |                       |- warning: static property 'clusterIncomplete' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterIncomplete' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 |     /// Account not found
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:438:23: warning: static property 'noAccount' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
436 |
437 |     /// Account not found
438 |     public static let noAccount = ErrorCode(rawValue: 10035)
    |                       |- warning: static property 'noAccount' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'noAccount' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
439 |
440 |     /// General RAFT error
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:441:23: warning: static property 'raftGeneral' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
439 |
440 |     /// General RAFT error
441 |     public static let raftGeneral = ErrorCode(rawValue: 10041)
    |                       |- warning: static property 'raftGeneral' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'raftGeneral' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 |
443 |     /// Jetstream unable to subscribe to restore snapshot
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:444:23: warning: static property 'restoreSubscribeFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
442 |
443 |     /// Jetstream unable to subscribe to restore snapshot
444 |     public static let restoreSubscribeFailed = ErrorCode(rawValue: 10042)
    |                       |- warning: static property 'restoreSubscribeFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'restoreSubscribeFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 |
446 |     /// Stream deletion failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:447:23: warning: static property 'streamDelete' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
445 |
446 |     /// Stream deletion failed
447 |     public static let streamDelete = ErrorCode(rawValue: 10050)
    |                       |- warning: static property 'streamDelete' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamDelete' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
448 |
449 |     /// Stream external api prefix must not overlap
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:450:23: warning: static property 'streamExternalApiOverlap' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
448 |
449 |     /// Stream external api prefix must not overlap
450 |     public static let streamExternalApiOverlap = ErrorCode(rawValue: 10021)
    |                       |- warning: static property 'streamExternalApiOverlap' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamExternalApiOverlap' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 |
452 |     /// Stream mirrors can not contain subjects
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:453:23: warning: static property 'mirrorWithSubjects' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
451 |
452 |     /// Stream mirrors can not contain subjects
453 |     public static let mirrorWithSubjects = ErrorCode(rawValue: 10034)
    |                       |- warning: static property 'mirrorWithSubjects' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorWithSubjects' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
454 |
455 |     /// Jetstream not enabled
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:456:23: warning: static property 'jetstreamNotEnabled' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
454 |
455 |     /// Jetstream not enabled
456 |     public static let jetstreamNotEnabled = ErrorCode(rawValue: 10076)
    |                       |- warning: static property 'jetstreamNotEnabled' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'jetstreamNotEnabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
457 |
458 |     /// Jetstream not enabled for account
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:459:23: warning: static property 'jetstreamNotEnabledForAccount' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
457 |
458 |     /// Jetstream not enabled for account
459 |     public static let jetstreamNotEnabledForAccount = ErrorCode(rawValue: 10039)
    |                       |- warning: static property 'jetstreamNotEnabledForAccount' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'jetstreamNotEnabledForAccount' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 |
461 |     /// Sequence not found
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:462:23: warning: static property 'sequenceNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
460 |
461 |     /// Sequence not found
462 |     public static let sequenceNotFound = ErrorCode(rawValue: 10043)
    |                       |- warning: static property 'sequenceNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sequenceNotFound' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 |
464 |     /// Stream mirror configuration can not be updated
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:465:23: warning: static property 'streamMirrorNotUpdatable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
463 |
464 |     /// Stream mirror configuration can not be updated
465 |     public static let streamMirrorNotUpdatable = ErrorCode(rawValue: 10055)
    |                       |- warning: static property 'streamMirrorNotUpdatable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMirrorNotUpdatable' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 |
467 |     /// Expected stream sequence does not match
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:468:23: warning: static property 'streamSequenceNotMatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
466 |
467 |     /// Expected stream sequence does not match
468 |     public static let streamSequenceNotMatch = ErrorCode(rawValue: 10063)
    |                       |- warning: static property 'streamSequenceNotMatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamSequenceNotMatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
469 |
470 |     /// Wrong last msg id
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:471:23: warning: static property 'streamWrongLastMessageId' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
469 |
470 |     /// Wrong last msg id
471 |     public static let streamWrongLastMessageId = ErrorCode(rawValue: 10070)
    |                       |- warning: static property 'streamWrongLastMessageId' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamWrongLastMessageId' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
472 |
473 |     /// Jetstream unable to open temp storage for restore
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:474:23: warning: static property 'tempStorageFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
472 |
473 |     /// Jetstream unable to open temp storage for restore
474 |     public static let tempStorageFailed = ErrorCode(rawValue: 10072)
    |                       |- warning: static property 'tempStorageFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'tempStorageFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
475 |
476 |     /// Insufficient storage resources available
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:477:23: warning: static property 'storageResourcesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
475 |
476 |     /// Insufficient storage resources available
477 |     public static let storageResourcesExceeded = ErrorCode(rawValue: 10047)
    |                       |- warning: static property 'storageResourcesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'storageResourcesExceeded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
478 |
479 |     /// Stream name in subject does not match request
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:480:23: warning: static property 'streamMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
478 |
479 |     /// Stream name in subject does not match request
480 |     public static let streamMismatch = ErrorCode(rawValue: 10056)
    |                       |- warning: static property 'streamMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMismatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
481 |
482 |     /// Expected stream does not match
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:483:23: warning: static property 'streamNotMatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
481 |
482 |     /// Expected stream does not match
483 |     public static let streamNotMatch = ErrorCode(rawValue: 10060)
    |                       |- warning: static property 'streamNotMatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamNotMatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
484 |
485 |     /// Setting up consumer mirror failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:486:23: warning: static property 'mirrorConsumerSetupFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
484 |
485 |     /// Setting up consumer mirror failed
486 |     public static let mirrorConsumerSetupFailed = ErrorCode(rawValue: 10029)
    |                       |- warning: static property 'mirrorConsumerSetupFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorConsumerSetupFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
487 |
488 |     /// Expected an empty request payload
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:489:23: warning: static property 'notEmptyRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
487 |
488 |     /// Expected an empty request payload
489 |     public static let notEmptyRequest = ErrorCode(rawValue: 10038)
    |                       |- warning: static property 'notEmptyRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'notEmptyRequest' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
490 |
491 |     /// Stream name already in use with a different configuration
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:492:23: warning: static property 'streamNameExist' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
490 |
491 |     /// Stream name already in use with a different configuration
492 |     public static let streamNameExist = ErrorCode(rawValue: 10058)
    |                       |- warning: static property 'streamNameExist' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamNameExist' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
493 |
494 |     /// Tags placement not supported for operation
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:495:23: warning: static property 'clusterTags' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
493 |
494 |     /// Tags placement not supported for operation
495 |     public static let clusterTags = ErrorCode(rawValue: 10011)
    |                       |- warning: static property 'clusterTags' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterTags' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
496 |
497 |     /// Maximum consumers limit reached
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:498:23: warning: static property 'maximumConsumersLimit' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
496 |
497 |     /// Maximum consumers limit reached
498 |     public static let maximumConsumersLimit = ErrorCode(rawValue: 10026)
    |                       |- warning: static property 'maximumConsumersLimit' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maximumConsumersLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
499 |
500 |     /// General source consumer setup failure
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:501:23: warning: static property 'sourceConsumerSetupFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
499 |
500 |     /// General source consumer setup failure
501 |     public static let sourceConsumerSetupFailed = ErrorCode(rawValue: 10045)
    |                       |- warning: static property 'sourceConsumerSetupFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceConsumerSetupFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
502 |
503 |     /// Consumer creation failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:504:23: warning: static property 'consumerCreate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
502 |
503 |     /// Consumer creation failed
504 |     public static let consumerCreate = ErrorCode(rawValue: 10012)
    |                       |- warning: static property 'consumerCreate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerCreate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
505 |
506 |     /// Consumer expected to be durable but no durable name set in subject
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:507:23: warning: static property 'consumerDurableNameNotInSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
505 |
506 |     /// Consumer expected to be durable but no durable name set in subject
507 |     public static let consumerDurableNameNotInSubject = ErrorCode(rawValue: 10016)
    |                       |- warning: static property 'consumerDurableNameNotInSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDurableNameNotInSubject' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
508 |
509 |     /// Stream limits error
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:510:23: warning: static property 'streamLimits' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
508 |
509 |     /// Stream limits error
510 |     public static let streamLimits = ErrorCode(rawValue: 10053)
    |                       |- warning: static property 'streamLimits' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamLimits' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
511 |
512 |     /// Replicas configuration can not be updated
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:513:23: warning: static property 'streamReplicasNotUpdatable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
511 |
512 |     /// Replicas configuration can not be updated
513 |     public static let streamReplicasNotUpdatable = ErrorCode(rawValue: 10061)
    |                       |- warning: static property 'streamReplicasNotUpdatable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamReplicasNotUpdatable' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
514 |
515 |     /// Template not found
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:516:23: warning: static property 'streamTemplateNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
514 |
515 |     /// Template not found
516 |     public static let streamTemplateNotFound = ErrorCode(rawValue: 10068)
    |                       |- warning: static property 'streamTemplateNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamTemplateNotFound' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 |
518 |     /// Jetstream cluster not assigned to this server
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:519:23: warning: static property 'clusterNotAssigned' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
517 |
518 |     /// Jetstream cluster not assigned to this server
519 |     public static let clusterNotAssigned = ErrorCode(rawValue: 10007)
    |                       |- warning: static property 'clusterNotAssigned' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterNotAssigned' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
520 |
521 |     /// Jetstream cluster can't handle request
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:522:23: warning: static property 'clusterNotLeader' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
520 |
521 |     /// Jetstream cluster can't handle request
522 |     public static let clusterNotLeader = ErrorCode(rawValue: 10009)
    |                       |- warning: static property 'clusterNotLeader' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterNotLeader' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
523 |
524 |     /// Consumer name already in use
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:525:23: warning: static property 'consumerNameExist' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
523 |
524 |     /// Consumer name already in use
525 |     public static let consumerNameExist = ErrorCode(rawValue: 10013)
    |                       |- warning: static property 'consumerNameExist' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerNameExist' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 |
527 |     /// Stream mirrors can't also contain other sources
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:528:23: warning: static property 'mirrorWithSources' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
526 |
527 |     /// Stream mirrors can't also contain other sources
528 |     public static let mirrorWithSources = ErrorCode(rawValue: 10031)
    |                       |- warning: static property 'mirrorWithSources' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorWithSources' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
529 |
530 |     /// Stream not found
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:531:23: warning: static property 'streamNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
529 |
530 |     /// Stream not found
531 |     public static let streamNotFound = ErrorCode(rawValue: 10059)
    |                       |- warning: static property 'streamNotFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamNotFound' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
532 |
533 |     /// Jetstream clustering support required
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:534:23: warning: static property 'clusterRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
532 |
533 |     /// Jetstream clustering support required
534 |     public static let clusterRequired = ErrorCode(rawValue: 10010)
    |                       |- warning: static property 'clusterRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterRequired' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
535 |
536 |     /// Consumer expected to be durable but a durable name was not set
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:537:23: warning: static property 'consumerDurableNameNotSet' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
535 |
536 |     /// Consumer expected to be durable but a durable name was not set
537 |     public static let consumerDurableNameNotSet = ErrorCode(rawValue: 10018)
    |                       |- warning: static property 'consumerDurableNameNotSet' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDurableNameNotSet' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
538 |
539 |     /// Maximum number of streams reached
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:540:23: warning: static property 'maximumStreamsLimit' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
538 |
539 |     /// Maximum number of streams reached
540 |     public static let maximumStreamsLimit = ErrorCode(rawValue: 10027)
    |                       |- warning: static property 'maximumStreamsLimit' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maximumStreamsLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
541 |
542 |     /// Stream mirrors can not have both start seq and start time configured
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:543:23: warning: static property 'mirrorWithStartSequenceAndTime' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
541 |
542 |     /// Stream mirrors can not have both start seq and start time configured
543 |     public static let mirrorWithStartSequenceAndTime = ErrorCode(rawValue: 10032)
    |                       |- warning: static property 'mirrorWithStartSequenceAndTime' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorWithStartSequenceAndTime' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
544 |
545 |     /// Stream snapshot failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:546:23: warning: static property 'streamSnapshot' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
544 |
545 |     /// Stream snapshot failed
546 |     public static let streamSnapshot = ErrorCode(rawValue: 10064)
    |                       |- warning: static property 'streamSnapshot' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamSnapshot' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
547 |
548 |     /// Stream update failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:549:23: warning: static property 'streamUpdate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
547 |
548 |     /// Stream update failed
549 |     public static let streamUpdate = ErrorCode(rawValue: 10069)
    |                       |- warning: static property 'streamUpdate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamUpdate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
550 |
551 |     /// Jetstream not in clustered mode
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:552:23: warning: static property 'clusterNotActive' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
550 |
551 |     /// Jetstream not in clustered mode
552 |     public static let clusterNotActive = ErrorCode(rawValue: 10006)
    |                       |- warning: static property 'clusterNotActive' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterNotActive' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
553 |
554 |     /// Consumer name in subject does not match durable name in request
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:555:23: warning: static property 'consumerDurableNameNotMatchSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
553 |
554 |     /// Consumer name in subject does not match durable name in request
555 |     public static let consumerDurableNameNotMatchSubject = ErrorCode(rawValue: 10017)
    |                       |- warning: static property 'consumerDurableNameNotMatchSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDurableNameNotMatchSubject' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
556 |
557 |     /// Insufficient memory resources available
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:558:23: warning: static property 'memoryResourcesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
556 |
557 |     /// Insufficient memory resources available
558 |     public static let memoryResourcesExceeded = ErrorCode(rawValue: 10028)
    |                       |- warning: static property 'memoryResourcesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'memoryResourcesExceeded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
559 |
560 |     /// Stream mirrors can not contain filtered subjects
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:561:23: warning: static property 'mirrorWithSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
559 |
560 |     /// Stream mirrors can not contain filtered subjects
561 |     public static let mirrorWithSubjectFilters = ErrorCode(rawValue: 10033)
    |                       |- warning: static property 'mirrorWithSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorWithSubjectFilters' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 |
563 |     /// Stream create failed with a string
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:564:23: warning: static property 'streamCreate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
562 |
563 |     /// Stream create failed with a string
564 |     public static let streamCreate = ErrorCode(rawValue: 10049)
    |                       |- warning: static property 'streamCreate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamCreate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |
566 |     /// Server is not a member of the cluster
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:567:23: warning: static property 'clusterServerNotMember' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
565 |
566 |     /// Server is not a member of the cluster
567 |     public static let clusterServerNotMember = ErrorCode(rawValue: 10044)
    |                       |- warning: static property 'clusterServerNotMember' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'clusterServerNotMember' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
568 |
569 |     /// No message found
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:570:23: warning: static property 'noMessageFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
568 |
569 |     /// No message found
570 |     public static let noMessageFound = ErrorCode(rawValue: 10037)
    |                       |- warning: static property 'noMessageFound' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'noMessageFound' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
571 |
572 |     /// Deliver subject not valid
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:573:23: warning: static property 'snapshotDeliverSubjectInvalid' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
571 |
572 |     /// Deliver subject not valid
573 |     public static let snapshotDeliverSubjectInvalid = ErrorCode(rawValue: 10015)
    |                       |- warning: static property 'snapshotDeliverSubjectInvalid' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'snapshotDeliverSubjectInvalid' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
574 |
575 |     /// General stream failure
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:576:23: warning: static property 'streamGeneralError' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
574 |
575 |     /// General stream failure
576 |     public static let streamGeneralError = ErrorCode(rawValue: 10051)
    |                       |- warning: static property 'streamGeneralError' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamGeneralError' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
577 |
578 |     /// Invalid stream config
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:579:23: warning: static property 'streamInvalidConfig' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
577 |
578 |     /// Invalid stream config
579 |     public static let streamInvalidConfig = ErrorCode(rawValue: 10052)
    |                       |- warning: static property 'streamInvalidConfig' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamInvalidConfig' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 |
581 |     /// Replicas > 1 not supported in non-clustered mode
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:582:23: warning: static property 'streamReplicasNotSupported' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
580 |
581 |     /// Replicas > 1 not supported in non-clustered mode
582 |     public static let streamReplicasNotSupported = ErrorCode(rawValue: 10074)
    |                       |- warning: static property 'streamReplicasNotSupported' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamReplicasNotSupported' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
583 |
584 |     /// Stream message delete failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:585:23: warning: static property 'streamMessageDeleteFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
583 |
584 |     /// Stream message delete failed
585 |     public static let streamMessageDeleteFailed = ErrorCode(rawValue: 10057)
    |                       |- warning: static property 'streamMessageDeleteFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMessageDeleteFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
586 |
587 |     /// Peer remap failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:588:23: warning: static property 'peerRemap' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
586 |
587 |     /// Peer remap failed
588 |     public static let peerRemap = ErrorCode(rawValue: 10075)
    |                       |- warning: static property 'peerRemap' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'peerRemap' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
589 |
590 |     /// Stream store failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:591:23: warning: static property 'streamStoreFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
589 |
590 |     /// Stream store failed
591 |     public static let streamStoreFailed = ErrorCode(rawValue: 10077)
    |                       |- warning: static property 'streamStoreFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamStoreFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
592 |
593 |     /// Consumer config required
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:594:23: warning: static property 'consumerConfigRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
592 |
593 |     /// Consumer config required
594 |     public static let consumerConfigRequired = ErrorCode(rawValue: 10078)
    |                       |- warning: static property 'consumerConfigRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerConfigRequired' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
595 |
596 |     /// Consumer deliver subject has wildcards
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:597:23: warning: static property 'consumerDeliverToWildcards' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
595 |
596 |     /// Consumer deliver subject has wildcards
597 |     public static let consumerDeliverToWildcards = ErrorCode(rawValue: 10079)
    |                       |- warning: static property 'consumerDeliverToWildcards' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDeliverToWildcards' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 |     /// Consumer in push mode can not set max waiting
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:600:23: warning: static property 'consumerPushMaxWaiting' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
598 |
599 |     /// Consumer in push mode can not set max waiting
600 |     public static let consumerPushMaxWaiting = ErrorCode(rawValue: 10080)
    |                       |- warning: static property 'consumerPushMaxWaiting' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerPushMaxWaiting' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 |
602 |     /// Consumer deliver subject forms a cycle
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:603:23: warning: static property 'consumerDeliverCycle' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
601 |
602 |     /// Consumer deliver subject forms a cycle
603 |     public static let consumerDeliverCycle = ErrorCode(rawValue: 10081)
    |                       |- warning: static property 'consumerDeliverCycle' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDeliverCycle' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
604 |
605 |     /// Consumer requires ack policy for max ack pending
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:606:23: warning: static property 'consumerMaxPendingAckPolicyRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
604 |
605 |     /// Consumer requires ack policy for max ack pending
606 |     public static let consumerMaxPendingAckPolicyRequired = ErrorCode(rawValue: 10082)
    |                       |- warning: static property 'consumerMaxPendingAckPolicyRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMaxPendingAckPolicyRequired' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
607 |
608 |     /// Consumer idle heartbeat needs to be >= 100ms
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:609:23: warning: static property 'consumerSmallHeartbeat' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
607 |
608 |     /// Consumer idle heartbeat needs to be >= 100ms
609 |     public static let consumerSmallHeartbeat = ErrorCode(rawValue: 10083)
    |                       |- warning: static property 'consumerSmallHeartbeat' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerSmallHeartbeat' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
610 |
611 |     /// Consumer in pull mode requires ack policy
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:612:23: warning: static property 'consumerPullRequiresAck' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
610 |
611 |     /// Consumer in pull mode requires ack policy
612 |     public static let consumerPullRequiresAck = ErrorCode(rawValue: 10084)
    |                       |- warning: static property 'consumerPullRequiresAck' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerPullRequiresAck' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
613 |
614 |     /// Consumer in pull mode requires a durable name
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:615:23: warning: static property 'consumerPullNotDurable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
613 |
614 |     /// Consumer in pull mode requires a durable name
615 |     public static let consumerPullNotDurable = ErrorCode(rawValue: 10085)
    |                       |- warning: static property 'consumerPullNotDurable' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerPullNotDurable' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
616 |
617 |     /// Consumer in pull mode can not have rate limit set
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:618:23: warning: static property 'consumerPullWithRateLimit' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
616 |
617 |     /// Consumer in pull mode can not have rate limit set
618 |     public static let consumerPullWithRateLimit = ErrorCode(rawValue: 10086)
    |                       |- warning: static property 'consumerPullWithRateLimit' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerPullWithRateLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
619 |
620 |     /// Consumer max waiting needs to be positive
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:621:23: warning: static property 'consumerMaxWaitingNegative' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
619 |
620 |     /// Consumer max waiting needs to be positive
621 |     public static let consumerMaxWaitingNegative = ErrorCode(rawValue: 10087)
    |                       |- warning: static property 'consumerMaxWaitingNegative' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMaxWaitingNegative' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
622 |
623 |     /// Consumer idle heartbeat requires a push based consumer
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:624:23: warning: static property 'consumerHeartbeatRequiresPush' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
622 |
623 |     /// Consumer idle heartbeat requires a push based consumer
624 |     public static let consumerHeartbeatRequiresPush = ErrorCode(rawValue: 10088)
    |                       |- warning: static property 'consumerHeartbeatRequiresPush' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerHeartbeatRequiresPush' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
625 |
626 |     /// Consumer flow control requires a push based consumer
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:627:23: warning: static property 'consumerFlowControlRequiresPush' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
625 |
626 |     /// Consumer flow control requires a push based consumer
627 |     public static let consumerFlowControlRequiresPush = ErrorCode(rawValue: 10089)
    |                       |- warning: static property 'consumerFlowControlRequiresPush' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerFlowControlRequiresPush' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
628 |
629 |     /// Consumer direct requires a push based consumer
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:630:23: warning: static property 'consumerDirectRequiresPush' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
628 |
629 |     /// Consumer direct requires a push based consumer
630 |     public static let consumerDirectRequiresPush = ErrorCode(rawValue: 10090)
    |                       |- warning: static property 'consumerDirectRequiresPush' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDirectRequiresPush' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
631 |
632 |     /// Consumer direct requires an ephemeral consumer
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:633:23: warning: static property 'consumerDirectRequiresEphemeral' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
631 |
632 |     /// Consumer direct requires an ephemeral consumer
633 |     public static let consumerDirectRequiresEphemeral = ErrorCode(rawValue: 10091)
    |                       |- warning: static property 'consumerDirectRequiresEphemeral' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDirectRequiresEphemeral' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
634 |
635 |     /// Consumer direct on a mapped consumer
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:636:23: warning: static property 'consumerOnMapped' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
634 |
635 |     /// Consumer direct on a mapped consumer
636 |     public static let consumerOnMapped = ErrorCode(rawValue: 10092)
    |                       |- warning: static property 'consumerOnMapped' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerOnMapped' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
637 |
638 |     /// Consumer filter subject is not a valid subset of the interest subjects
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:639:23: warning: static property 'consumerFilterNotSubset' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
637 |
638 |     /// Consumer filter subject is not a valid subset of the interest subjects
639 |     public static let consumerFilterNotSubset = ErrorCode(rawValue: 10093)
    |                       |- warning: static property 'consumerFilterNotSubset' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerFilterNotSubset' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
640 |
641 |     /// Invalid consumer policy
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:642:23: warning: static property 'consumerInvalidPolicy' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
640 |
641 |     /// Invalid consumer policy
642 |     public static let consumerInvalidPolicy = ErrorCode(rawValue: 10094)
    |                       |- warning: static property 'consumerInvalidPolicy' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerInvalidPolicy' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
643 |
644 |     /// Failed to parse consumer sampling configuration
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:645:23: warning: static property 'consumerInvalidSampling' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
643 |
644 |     /// Failed to parse consumer sampling configuration
645 |     public static let consumerInvalidSampling = ErrorCode(rawValue: 10095)
    |                       |- warning: static property 'consumerInvalidSampling' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerInvalidSampling' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
646 |
647 |     /// Stream not valid
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:648:23: warning: static property 'streamInvalid' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
646 |
647 |     /// Stream not valid
648 |     public static let streamInvalid = ErrorCode(rawValue: 10096)
    |                       |- warning: static property 'streamInvalid' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamInvalid' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
649 |
650 |     /// Workqueue stream requires explicit ack
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:651:23: warning: static property 'consumerWqRequiresExplicitAck' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
649 |
650 |     /// Workqueue stream requires explicit ack
651 |     public static let consumerWqRequiresExplicitAck = ErrorCode(rawValue: 10098)
    |                       |- warning: static property 'consumerWqRequiresExplicitAck' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerWqRequiresExplicitAck' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
652 |
653 |     /// Multiple non-filtered consumers not allowed on workqueue stream
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:654:23: warning: static property 'consumerWqMultipleUnfiltered' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
652 |
653 |     /// Multiple non-filtered consumers not allowed on workqueue stream
654 |     public static let consumerWqMultipleUnfiltered = ErrorCode(rawValue: 10099)
    |                       |- warning: static property 'consumerWqMultipleUnfiltered' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerWqMultipleUnfiltered' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
655 |
656 |     /// Filtered consumer not unique on workqueue stream
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:657:23: warning: static property 'consumerWqConsumerNotUnique' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
655 |
656 |     /// Filtered consumer not unique on workqueue stream
657 |     public static let consumerWqConsumerNotUnique = ErrorCode(rawValue: 10100)
    |                       |- warning: static property 'consumerWqConsumerNotUnique' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerWqConsumerNotUnique' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 |
659 |     /// Consumer must be deliver all on workqueue stream
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:660:23: warning: static property 'consumerWqConsumerNotDeliverAll' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
658 |
659 |     /// Consumer must be deliver all on workqueue stream
660 |     public static let consumerWqConsumerNotDeliverAll = ErrorCode(rawValue: 10101)
    |                       |- warning: static property 'consumerWqConsumerNotDeliverAll' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerWqConsumerNotDeliverAll' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 |     /// Consumer name is too long
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:663:23: warning: static property 'consumerNameTooLong' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
661 |
662 |     /// Consumer name is too long
663 |     public static let consumerNameTooLong = ErrorCode(rawValue: 10102)
    |                       |- warning: static property 'consumerNameTooLong' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerNameTooLong' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
664 |
665 |     /// Durable name can not contain token separators and wildcards
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:666:23: warning: static property 'consumerBadDurableName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
664 |
665 |     /// Durable name can not contain token separators and wildcards
666 |     public static let consumerBadDurableName = ErrorCode(rawValue: 10103)
    |                       |- warning: static property 'consumerBadDurableName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerBadDurableName' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
667 |
668 |     /// Error creating store for consumer
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:669:23: warning: static property 'consumerStoreFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
667 |
668 |     /// Error creating store for consumer
669 |     public static let consumerStoreFailed = ErrorCode(rawValue: 10104)
    |                       |- warning: static property 'consumerStoreFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerStoreFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
670 |
671 |     /// Consumer already exists and is still active
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:672:23: warning: static property 'consumerExistingActive' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
670 |
671 |     /// Consumer already exists and is still active
672 |     public static let consumerExistingActive = ErrorCode(rawValue: 10105)
    |                       |- warning: static property 'consumerExistingActive' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerExistingActive' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
673 |
674 |     /// Consumer replacement durable config not the same
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:675:23: warning: static property 'consumerReplacementWithDifferentName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
673 |
674 |     /// Consumer replacement durable config not the same
675 |     public static let consumerReplacementWithDifferentName = ErrorCode(rawValue: 10106)
    |                       |- warning: static property 'consumerReplacementWithDifferentName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerReplacementWithDifferentName' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
676 |
677 |     /// Consumer description is too long
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:678:23: warning: static property 'consumerDescriptionTooLong' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
676 |
677 |     /// Consumer description is too long
678 |     public static let consumerDescriptionTooLong = ErrorCode(rawValue: 10107)
    |                       |- warning: static property 'consumerDescriptionTooLong' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDescriptionTooLong' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 |
680 |     /// Header size exceeds maximum allowed of 64k
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:681:23: warning: static property 'streamHeaderExceedsMaximum' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
679 |
680 |     /// Header size exceeds maximum allowed of 64k
681 |     public static let streamHeaderExceedsMaximum = ErrorCode(rawValue: 10097)
    |                       |- warning: static property 'streamHeaderExceedsMaximum' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamHeaderExceedsMaximum' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 |
683 |     /// Consumer with flow control also needs heartbeats
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:684:23: warning: static property 'consumerWithFlowControlNeedsHeartbeats' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
682 |
683 |     /// Consumer with flow control also needs heartbeats
684 |     public static let consumerWithFlowControlNeedsHeartbeats = ErrorCode(rawValue: 10108)
    |                       |- warning: static property 'consumerWithFlowControlNeedsHeartbeats' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerWithFlowControlNeedsHeartbeats' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 |
686 |     /// Invalid operation on sealed stream
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:687:23: warning: static property 'streamSealed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
685 |
686 |     /// Invalid operation on sealed stream
687 |     public static let streamSealed = ErrorCode(rawValue: 10109)
    |                       |- warning: static property 'streamSealed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamSealed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
688 |
689 |     /// Stream purge failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:690:23: warning: static property 'streamPurgeFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
688 |
689 |     /// Stream purge failed
690 |     public static let streamPurgeFailed = ErrorCode(rawValue: 10110)
    |                       |- warning: static property 'streamPurgeFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamPurgeFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
691 |
692 |     /// Stream rollup failed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:693:23: warning: static property 'streamRollupFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
691 |
692 |     /// Stream rollup failed
693 |     public static let streamRollupFailed = ErrorCode(rawValue: 10111)
    |                       |- warning: static property 'streamRollupFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamRollupFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
694 |
695 |     /// Invalid push consumer deliver subject
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:696:23: warning: static property 'consumerInvalidDeliverSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
694 |
695 |     /// Invalid push consumer deliver subject
696 |     public static let consumerInvalidDeliverSubject = ErrorCode(rawValue: 10112)
    |                       |- warning: static property 'consumerInvalidDeliverSubject' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerInvalidDeliverSubject' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
697 |
698 |     /// Account requires a stream config to have max bytes set
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:699:23: warning: static property 'streamMaxBytesRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
697 |
698 |     /// Account requires a stream config to have max bytes set
699 |     public static let streamMaxBytesRequired = ErrorCode(rawValue: 10113)
    |                       |- warning: static property 'streamMaxBytesRequired' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMaxBytesRequired' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
700 |
701 |     /// Consumer max request batch needs to be > 0
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:702:23: warning: static property 'consumerMaxRequestBatchNegative' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
700 |
701 |     /// Consumer max request batch needs to be > 0
702 |     public static let consumerMaxRequestBatchNegative = ErrorCode(rawValue: 10114)
    |                       |- warning: static property 'consumerMaxRequestBatchNegative' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMaxRequestBatchNegative' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
703 |
704 |     /// Consumer max request expires needs to be >= 1ms
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:705:23: warning: static property 'consumerMaxRequestExpiresToSmall' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
703 |
704 |     /// Consumer max request expires needs to be >= 1ms
705 |     public static let consumerMaxRequestExpiresToSmall = ErrorCode(rawValue: 10115)
    |                       |- warning: static property 'consumerMaxRequestExpiresToSmall' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMaxRequestExpiresToSmall' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
706 |
707 |     /// Max deliver is required to be > length of backoff values
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:708:23: warning: static property 'consumerMaxDeliverBackoff' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
706 |
707 |     /// Max deliver is required to be > length of backoff values
708 |     public static let consumerMaxDeliverBackoff = ErrorCode(rawValue: 10116)
    |                       |- warning: static property 'consumerMaxDeliverBackoff' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMaxDeliverBackoff' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
709 |
710 |     /// Subject details would exceed maximum allowed
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:711:23: warning: static property 'streamInfoMaxSubjects' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
709 |
710 |     /// Subject details would exceed maximum allowed
711 |     public static let streamInfoMaxSubjects = ErrorCode(rawValue: 10117)
    |                       |- warning: static property 'streamInfoMaxSubjects' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamInfoMaxSubjects' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
712 |
713 |     /// Stream is offline
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:714:23: warning: static property 'streamOffline' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
712 |
713 |     /// Stream is offline
714 |     public static let streamOffline = ErrorCode(rawValue: 10118)
    |                       |- warning: static property 'streamOffline' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamOffline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 |
716 |     /// Consumer is offline
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:717:23: warning: static property 'consumerOffline' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
715 |
716 |     /// Consumer is offline
717 |     public static let consumerOffline = ErrorCode(rawValue: 10119)
    |                       |- warning: static property 'consumerOffline' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerOffline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
718 |
719 |     /// No jetstream default or applicable tiered limit present
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:720:23: warning: static property 'noLimits' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
718 |
719 |     /// No jetstream default or applicable tiered limit present
720 |     public static let noLimits = ErrorCode(rawValue: 10120)
    |                       |- warning: static property 'noLimits' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'noLimits' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
721 |
722 |     /// Consumer max ack pending exceeds system limit
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:723:23: warning: static property 'consumerMaxPendingAckExcess' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
721 |
722 |     /// Consumer max ack pending exceeds system limit
723 |     public static let consumerMaxPendingAckExcess = ErrorCode(rawValue: 10121)
    |                       |- warning: static property 'consumerMaxPendingAckExcess' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMaxPendingAckExcess' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
724 |
725 |     /// Stream max bytes exceeds account limit max stream bytes
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:726:23: warning: static property 'streamMaxStreamBytesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
724 |
725 |     /// Stream max bytes exceeds account limit max stream bytes
726 |     public static let streamMaxStreamBytesExceeded = ErrorCode(rawValue: 10122)
    |                       |- warning: static property 'streamMaxStreamBytesExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMaxStreamBytesExceeded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
727 |
728 |     /// Can not move and scale a stream in a single update
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:729:23: warning: static property 'streamMoveAndScale' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
727 |
728 |     /// Can not move and scale a stream in a single update
729 |     public static let streamMoveAndScale = ErrorCode(rawValue: 10123)
    |                       |- warning: static property 'streamMoveAndScale' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMoveAndScale' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
730 |
731 |     /// Stream move already in progress
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:732:23: warning: static property 'streamMoveInProgress' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
730 |
731 |     /// Stream move already in progress
732 |     public static let streamMoveInProgress = ErrorCode(rawValue: 10124)
    |                       |- warning: static property 'streamMoveInProgress' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMoveInProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
733 |
734 |     /// Consumer max request batch exceeds server limit
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:735:23: warning: static property 'consumerMaxRequestBatchExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
733 |
734 |     /// Consumer max request batch exceeds server limit
735 |     public static let consumerMaxRequestBatchExceeded = ErrorCode(rawValue: 10125)
    |                       |- warning: static property 'consumerMaxRequestBatchExceeded' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMaxRequestBatchExceeded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
736 |
737 |     /// Consumer config replica count exceeds parent stream
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:738:23: warning: static property 'consumerReplicasExceedsStream' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
736 |
737 |     /// Consumer config replica count exceeds parent stream
738 |     public static let consumerReplicasExceedsStream = ErrorCode(rawValue: 10126)
    |                       |- warning: static property 'consumerReplicasExceedsStream' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerReplicasExceedsStream' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
739 |
740 |     /// Consumer name can not contain path separators
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:741:23: warning: static property 'consumerNameContainsPathSeparators' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
739 |
740 |     /// Consumer name can not contain path separators
741 |     public static let consumerNameContainsPathSeparators = ErrorCode(rawValue: 10127)
    |                       |- warning: static property 'consumerNameContainsPathSeparators' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerNameContainsPathSeparators' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
742 |
743 |     /// Stream name can not contain path separators
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:744:23: warning: static property 'streamNameContainsPathSeparators' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
742 |
743 |     /// Stream name can not contain path separators
744 |     public static let streamNameContainsPathSeparators = ErrorCode(rawValue: 10128)
    |                       |- warning: static property 'streamNameContainsPathSeparators' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamNameContainsPathSeparators' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
745 |
746 |     /// Stream move not in progress
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:747:23: warning: static property 'streamMoveNotInProgress' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
745 |
746 |     /// Stream move not in progress
747 |     public static let streamMoveNotInProgress = ErrorCode(rawValue: 10129)
    |                       |- warning: static property 'streamMoveNotInProgress' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamMoveNotInProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
748 |
749 |     /// Stream name already in use, cannot restore
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:750:23: warning: static property 'streamNameExistRestoreFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
748 |
749 |     /// Stream name already in use, cannot restore
750 |     public static let streamNameExistRestoreFailed = ErrorCode(rawValue: 10130)
    |                       |- warning: static property 'streamNameExistRestoreFailed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'streamNameExistRestoreFailed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
751 |
752 |     /// Consumer create request did not match filtered subject from create subject
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:753:23: warning: static property 'consumerCreateFilterSubjectMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
751 |
752 |     /// Consumer create request did not match filtered subject from create subject
753 |     public static let consumerCreateFilterSubjectMismatch = ErrorCode(rawValue: 10131)
    |                       |- warning: static property 'consumerCreateFilterSubjectMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerCreateFilterSubjectMismatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
754 |
755 |     /// Consumer durable and name have to be equal if both are provided
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:756:23: warning: static property 'consumerCreateDurableAndNameMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
754 |
755 |     /// Consumer durable and name have to be equal if both are provided
756 |     public static let consumerCreateDurableAndNameMismatch = ErrorCode(rawValue: 10132)
    |                       |- warning: static property 'consumerCreateDurableAndNameMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerCreateDurableAndNameMismatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
757 |
758 |     /// Replicas count cannot be negative
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:759:23: warning: static property 'replicasCountCannotBeNegative' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
757 |
758 |     /// Replicas count cannot be negative
759 |     public static let replicasCountCannotBeNegative = ErrorCode(rawValue: 10133)
    |                       |- warning: static property 'replicasCountCannotBeNegative' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'replicasCountCannotBeNegative' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
760 |
761 |     /// Consumer config replicas must match interest retention stream's replicas
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:762:23: warning: static property 'consumerReplicasShouldMatchStream' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
760 |
761 |     /// Consumer config replicas must match interest retention stream's replicas
762 |     public static let consumerReplicasShouldMatchStream = ErrorCode(rawValue: 10134)
    |                       |- warning: static property 'consumerReplicasShouldMatchStream' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerReplicasShouldMatchStream' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
763 |
764 |     /// Consumer metadata exceeds maximum size
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:765:23: warning: static property 'consumerMetadataLength' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
763 |
764 |     /// Consumer metadata exceeds maximum size
765 |     public static let consumerMetadataLength = ErrorCode(rawValue: 10135)
    |                       |- warning: static property 'consumerMetadataLength' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMetadataLength' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
766 |
767 |     /// Consumer cannot have both filter_subject and filter_subjects specified
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:768:23: warning: static property 'consumerDuplicateFilterSubjects' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
766 |
767 |     /// Consumer cannot have both filter_subject and filter_subjects specified
768 |     public static let consumerDuplicateFilterSubjects = ErrorCode(rawValue: 10136)
    |                       |- warning: static property 'consumerDuplicateFilterSubjects' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDuplicateFilterSubjects' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
769 |
770 |     /// Consumer with multiple subject filters cannot use subject based api
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:771:23: warning: static property 'consumerMultipleFiltersNotAllowed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
769 |
770 |     /// Consumer with multiple subject filters cannot use subject based api
771 |     public static let consumerMultipleFiltersNotAllowed = ErrorCode(rawValue: 10137)
    |                       |- warning: static property 'consumerMultipleFiltersNotAllowed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerMultipleFiltersNotAllowed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 |
773 |     /// Consumer subject filters cannot overlap
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:774:23: warning: static property 'consumerOverlappingSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
772 |
773 |     /// Consumer subject filters cannot overlap
774 |     public static let consumerOverlappingSubjectFilters = ErrorCode(rawValue: 10138)
    |                       |- warning: static property 'consumerOverlappingSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerOverlappingSubjectFilters' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
775 |
776 |     /// Consumer filter in filter_subjects cannot be empty
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:777:23: warning: static property 'consumerEmptyFilter' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
775 |
776 |     /// Consumer filter in filter_subjects cannot be empty
777 |     public static let consumerEmptyFilter = ErrorCode(rawValue: 10139)
    |                       |- warning: static property 'consumerEmptyFilter' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerEmptyFilter' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
778 |
779 |     /// Duplicate source configuration detected
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:780:23: warning: static property 'sourceDuplicateDetected' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
778 |
779 |     /// Duplicate source configuration detected
780 |     public static let sourceDuplicateDetected = ErrorCode(rawValue: 10140)
    |                       |- warning: static property 'sourceDuplicateDetected' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceDuplicateDetected' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
781 |
782 |     /// Sourced stream name is invalid
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:783:23: warning: static property 'sourceInvalidStreamName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
781 |
782 |     /// Sourced stream name is invalid
783 |     public static let sourceInvalidStreamName = ErrorCode(rawValue: 10141)
    |                       |- warning: static property 'sourceInvalidStreamName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceInvalidStreamName' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
784 |
785 |     /// Mirrored stream name is invalid
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:786:23: warning: static property 'mirrorInvalidStreamName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
784 |
785 |     /// Mirrored stream name is invalid
786 |     public static let mirrorInvalidStreamName = ErrorCode(rawValue: 10142)
    |                       |- warning: static property 'mirrorInvalidStreamName' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorInvalidStreamName' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
787 |
788 |     /// Source with multiple subject transforms cannot also have a single subject filter
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:789:23: warning: static property 'sourceMultipleFiltersNotAllowed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
787 |
788 |     /// Source with multiple subject transforms cannot also have a single subject filter
789 |     public static let sourceMultipleFiltersNotAllowed = ErrorCode(rawValue: 10144)
    |                       |- warning: static property 'sourceMultipleFiltersNotAllowed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceMultipleFiltersNotAllowed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
790 |
791 |     /// Source subject filter is invalid
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:792:23: warning: static property 'sourceInvalidSubjectFilter' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
790 |
791 |     /// Source subject filter is invalid
792 |     public static let sourceInvalidSubjectFilter = ErrorCode(rawValue: 10145)
    |                       |- warning: static property 'sourceInvalidSubjectFilter' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceInvalidSubjectFilter' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
793 |
794 |     /// Source transform destination is invalid
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:795:23: warning: static property 'sourceInvalidTransformDestination' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
793 |
794 |     /// Source transform destination is invalid
795 |     public static let sourceInvalidTransformDestination = ErrorCode(rawValue: 10146)
    |                       |- warning: static property 'sourceInvalidTransformDestination' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceInvalidTransformDestination' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
796 |
797 |     /// Source filters cannot overlap
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:798:23: warning: static property 'sourceOverlappingSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
796 |
797 |     /// Source filters cannot overlap
798 |     public static let sourceOverlappingSubjectFilters = ErrorCode(rawValue: 10147)
    |                       |- warning: static property 'sourceOverlappingSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'sourceOverlappingSubjectFilters' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 |
800 |     /// Consumer already exists
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:801:23: warning: static property 'consumerAlreadyExists' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
799 |
800 |     /// Consumer already exists
801 |     public static let consumerAlreadyExists = ErrorCode(rawValue: 10148)
    |                       |- warning: static property 'consumerAlreadyExists' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerAlreadyExists' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
802 |
803 |     /// Consumer does not exist
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:804:23: warning: static property 'consumerDoesNotExist' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
802 |
803 |     /// Consumer does not exist
804 |     public static let consumerDoesNotExist = ErrorCode(rawValue: 10149)
    |                       |- warning: static property 'consumerDoesNotExist' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerDoesNotExist' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
805 |
806 |     /// Mirror with multiple subject transforms cannot also have a single subject filter
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:807:23: warning: static property 'mirrorMultipleFiltersNotAllowed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
805 |
806 |     /// Mirror with multiple subject transforms cannot also have a single subject filter
807 |     public static let mirrorMultipleFiltersNotAllowed = ErrorCode(rawValue: 10150)
    |                       |- warning: static property 'mirrorMultipleFiltersNotAllowed' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorMultipleFiltersNotAllowed' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
808 |
809 |     /// Mirror subject filter is invalid
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:810:23: warning: static property 'mirrorInvalidSubjectFilter' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
808 |
809 |     /// Mirror subject filter is invalid
810 |     public static let mirrorInvalidSubjectFilter = ErrorCode(rawValue: 10151)
    |                       |- warning: static property 'mirrorInvalidSubjectFilter' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorInvalidSubjectFilter' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
811 |
812 |     /// Mirror subject filters cannot overlap
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:813:23: warning: static property 'mirrorOverlappingSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
811 |
812 |     /// Mirror subject filters cannot overlap
813 |     public static let mirrorOverlappingSubjectFilters = ErrorCode(rawValue: 10152)
    |                       |- warning: static property 'mirrorOverlappingSubjectFilters' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mirrorOverlappingSubjectFilters' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
814 |
815 |     /// Consumer inactive threshold exceeds system limit
/Users/admin/builder/spi-builder-workspace/Sources/JetStream/JetStreamError.swift:816:23: warning: static property 'consumerInactiveThresholdExcess' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
361 | }
362 |
363 | public struct ErrorCode: Codable, Equatable {
    |               `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
364 |     public let rawValue: UInt64
365 |     /// Peer not a member
    :
814 |
815 |     /// Consumer inactive threshold exceeds system limit
816 |     public static let consumerInactiveThresholdExcess = ErrorCode(rawValue: 10153)
    |                       |- warning: static property 'consumerInactiveThresholdExcess' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'consumerInactiveThresholdExcess' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
817 |
818 | }
[886/896] Compiling JetStream Stream.swift
[886/896] Linking Benchmark
[886/896] Linking bench
[888/896] Linking Example
[889/896] Linking BenchmarkSub
[890/896] Applying Example
[891/896] Applying bench
[892/896] Applying Benchmark
[893/896] Linking BenchmarkPubSub
[894/896] Applying BenchmarkSub
[895/896] Applying BenchmarkPubSub
Build complete! (62.02s)
Fetching https://github.com/Jarema/swift-nuid.git
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/nats-io/nkeys.swift.git
Fetching https://github.com/apple/swift-log.git from cache
[1/160] Fetching nkeys.swift
[21/286] Fetching nkeys.swift, swift-nuid
Fetched https://github.com/nats-io/nkeys.swift.git from cache (1.04s)
Fetched https://github.com/Jarema/swift-nuid.git from cache (1.04s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.06s)
Fetched https://github.com/apple/swift-log.git from cache (2.91s)
Fetched https://github.com/apple/swift-nio.git from cache (2.99s)
Computing version for https://github.com/Jarema/swift-nuid.git
Computed https://github.com/Jarema/swift-nuid.git at 0.3.0 (3.63s)
Computing version for https://github.com/nats-io/nkeys.swift.git
Computed https://github.com/nats-io/nkeys.swift.git at 0.2.0 (0.60s)
Fetching https://github.com/jedisct1/swift-sodium.git
Fetching https://github.com/Jarema/Base32
[1/1112] Fetching base32
[1113/6119] Fetching base32, swift-sodium
Fetched https://github.com/Jarema/Base32 from cache (10.05s)
Fetched https://github.com/jedisct1/swift-sodium.git from cache (10.05s)
Computing version for https://github.com/Jarema/Base32
Computed https://github.com/Jarema/Base32 at 0.10.2 (12.61s)
Computing version for https://github.com/jedisct1/swift-sodium.git
Computed https://github.com/jedisct1/swift-sodium.git at 0.10.0 (0.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.67s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (1.47s)
Fetched https://github.com/apple/swift-system.git from cache (1.50s)
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.66s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.54s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/nats-io/nkeys.swift.git
Working copy of https://github.com/nats-io/nkeys.swift.git resolved at 0.2.0
Creating working copy for https://github.com/Jarema/swift-nuid.git
Working copy of https://github.com/Jarema/swift-nuid.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/Jarema/Base32
Working copy of https://github.com/Jarema/Base32 resolved at 0.10.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.1
Creating working copy for https://github.com/jedisct1/swift-sodium.git
Working copy of https://github.com/jedisct1/swift-sodium.git resolved at 0.10.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.68.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "nkeys.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nats-io/nkeys.swift.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-nuid",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Jarema/swift-nuid.git"
    }
  ],
  "manifest_display_name" : "nats-swift",
  "name" : "nats-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Nats",
      "targets" : [
        "Nats"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "JetStream",
      "targets" : [
        "JetStream"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NatsServer",
      "targets" : [
        "NatsServer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "bench",
      "targets" : [
        "bench"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BenchmarkSub",
      "targets" : [
        "BenchmarkSub"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BenchmarkPubSub",
      "targets" : [
        "BenchmarkPubSub"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Benchmark",
      "targets" : [
        "Benchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "bench",
      "module_type" : "SwiftTarget",
      "name" : "bench",
      "path" : "Sources/bench",
      "product_memberships" : [
        "bench"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Nats"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NatsTests",
      "module_type" : "SwiftTarget",
      "name" : "NatsTests",
      "path" : "Tests/NatsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/TestUser.creds",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-all.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-cert-invalid.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-cert.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-key-invalid.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-key.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/ip-ca.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/ip-cert.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/ip-key.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/rootCA-key.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/rootCA.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/server-cert.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/server-key.pem",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/creds.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/jwt.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/nkey",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/nkey.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/permissions.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/tls.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/tls_first.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/tls_first_auto.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/token.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/ws.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NatsTests/Integration/Resources/wss.conf",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Integration/ConnectionTests.swift",
        "Integration/EventsTests.swift",
        "Integration/MessageWithHeadersTests.swift",
        "Unit/ErrorsTests.swift",
        "Unit/HeadersTests.swift",
        "Unit/JwtTests.swift",
        "Unit/NatsClientOptionsTests.swift",
        "Unit/ParserTests.swift"
      ],
      "target_dependencies" : [
        "Nats",
        "NatsServer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NatsServer",
      "module_type" : "SwiftTarget",
      "name" : "NatsServer",
      "path" : "Sources/NatsServer",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "NatsServer"
      ],
      "sources" : [
        "NatsServer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Nats",
      "module_type" : "SwiftTarget",
      "name" : "Nats",
      "path" : "Sources/Nats",
      "product_dependencies" : [
        "NIO",
        "NIOSSL",
        "Logging",
        "NIOFoundationCompat",
        "NIOHTTP1",
        "NIOWebSocket",
        "NKeys",
        "Nuid"
      ],
      "product_memberships" : [
        "Nats",
        "JetStream",
        "bench",
        "Example",
        "BenchmarkSub",
        "BenchmarkPubSub",
        "Benchmark"
      ],
      "sources" : [
        "BatchBuffer.swift",
        "ConcurrentQueue.swift",
        "Extensions/ByteBuffer+Writer.swift",
        "Extensions/Data+Base64.swift",
        "Extensions/Data+Parser.swift",
        "Extensions/Data+String.swift",
        "Extensions/String+Utilities.swift",
        "HTTPUpgradeRequestHandler.swift",
        "NatsClient/NatsClient+Events.swift",
        "NatsClient/NatsClient.swift",
        "NatsClient/NatsClientOptions.swift",
        "NatsConnection.swift",
        "NatsError.swift",
        "NatsHeaders.swift",
        "NatsJwtUtils.swift",
        "NatsMessage.swift",
        "NatsProto.swift",
        "NatsSubscription.swift",
        "RttCommand.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JetStreamTests",
      "module_type" : "SwiftTarget",
      "name" : "JetStreamTests",
      "path" : "Tests/JetStreamTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/JetStreamTests/Integration/Resources/domain.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/JetStreamTests/Integration/Resources/jetstream.conf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/JetStreamTests/Integration/Resources/prefix.conf",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Integration/ConsumerTests.swift",
        "Integration/JetStreamTests.swift",
        "Integration/RequestTests.swift",
        "Unit/MessageTests.swift"
      ],
      "target_dependencies" : [
        "Nats",
        "JetStream",
        "NatsServer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JetStream",
      "module_type" : "SwiftTarget",
      "name" : "JetStream",
      "path" : "Sources/JetStream",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "JetStream"
      ],
      "sources" : [
        "Consumer+Pull.swift",
        "Consumer.swift",
        "JetStreamContext+Consumer.swift",
        "JetStreamContext+Stream.swift",
        "JetStreamContext.swift",
        "JetStreamError.swift",
        "JetStreamMessage.swift",
        "NanoTimeInterval.swift",
        "Stream+Consumer.swift",
        "Stream.swift"
      ],
      "target_dependencies" : [
        "Nats"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Nats"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BenchmarkSub",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkSub",
      "path" : "Sources/BenchmarkSub",
      "product_memberships" : [
        "BenchmarkSub"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Nats"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BenchmarkPubSub",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkPubSub",
      "path" : "Sources/BenchmarkPubSub",
      "product_memberships" : [
        "BenchmarkPubSub"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Nats"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Benchmark",
      "module_type" : "SwiftTarget",
      "name" : "Benchmark",
      "path" : "Sources/Benchmark",
      "product_memberships" : [
        "Benchmark"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Nats"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.