The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SwiftLMDB, reference master (a933e0), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 10:40:06 UTC.

Swift 6 data race errors: 24

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/agisboye/swiftlmdb.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/agisboye/swiftlmdb
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a933e01 Merge pull request #26 from corujautx/master
Cloned https://github.com/agisboye/swiftlmdb.git
Revision (git rev-parse @):
a933e0183bf7bfdddb9d4b35568dba390f31c2eb
SUCCESS checkout https://github.com/agisboye/swiftlmdb.git at master
Fetching https://github.com/agisboye/CLMDB.git
[1/43] Fetching clmdb
Fetched https://github.com/agisboye/CLMDB.git from cache (0.57s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.31 (0.69s)
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.31
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftlmdb",
      "name": "SwiftLMDB",
      "url": "https://github.com/agisboye/swiftlmdb.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftlmdb",
      "dependencies": [
        {
          "identity": "clmdb",
          "name": "CLMDB",
          "url": "https://github.com/agisboye/CLMDB.git",
          "version": "0.9.31",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CLMDB",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/agisboye/swiftlmdb.git
[1/440] Fetching swiftlmdb
Fetched https://github.com/agisboye/swiftlmdb.git from cache (0.93s)
Fetching https://github.com/agisboye/CLMDB.git from cache
Fetched https://github.com/agisboye/CLMDB.git from cache (0.47s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.31 (0.02s)
Creating working copy for https://github.com/agisboye/swiftlmdb.git
Working copy of https://github.com/agisboye/swiftlmdb.git resolved at master (a933e01)
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.31
warning: '.resolve-product-dependencies': dependency 'swiftlmdb' is not used by any target
Found 1 product dependencies
  - CLMDB
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/agisboye/swiftlmdb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--7754E27361AE5C74.txt
[2/4] Compiling LMDB midl.c
[3/4] Compiling LMDB mdb.c
[5/14] Compiling SwiftLMDB Stats.swift
[6/14] Compiling SwiftLMDB Transaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transaction.swift:23:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Transaction.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public struct Flags: OptionSet {
   |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
20 |         public let rawValue: Int32
21 |         public init(rawValue: Int32) { self.rawValue = rawValue}
22 |
23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
   |                           |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Transaction.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'readOnly' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:23:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
    |                           |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'readOnly' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
[7/14] Compiling SwiftLMDB LMDBError.swift
[8/14] Compiling SwiftLMDB LMDBVersion.swift
[9/14] Compiling SwiftLMDB Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:20:27: warning: static property 'fixedMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 19 |
 20 |         public static let fixedMap = Flags(rawValue: MDB_FIXEDMAP)
    |                           |- warning: static property 'fixedMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fixedMap' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:21:27: warning: static property 'noSubDir' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 19 |
 20 |         public static let fixedMap = Flags(rawValue: MDB_FIXEDMAP)
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
    |                           |- warning: static property 'noSubDir' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noSubDir' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:22:27: warning: static property 'noSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 20 |         public static let fixedMap = Flags(rawValue: MDB_FIXEDMAP)
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
    |                           |- warning: static property 'noSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noSync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:23:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
    |                           |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'readOnly' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:24:27: warning: static property 'noMetaSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
    |                           |- warning: static property 'noMetaSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noMetaSync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:25:27: warning: static property 'writeMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
    |                           |- warning: static property 'writeMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'writeMap' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:26:27: warning: static property 'mapAsync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
    |                           |- warning: static property 'mapAsync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'mapAsync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:27:27: warning: static property 'noTLS' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
    |                           |- warning: static property 'noTLS' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noTLS' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:28:27: warning: static property 'noLock' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
    |                           |- warning: static property 'noLock' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noLock' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
 30 |         public static let noMemoryInit = Flags(rawValue: MDB_NOMEMINIT)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:29:27: warning: static property 'noReadahead' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
    |                           |- warning: static property 'noReadahead' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noReadahead' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |         public static let noMemoryInit = Flags(rawValue: MDB_NOMEMINIT)
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:30:27: warning: static property 'noMemoryInit' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
 30 |         public static let noMemoryInit = Flags(rawValue: MDB_NOMEMINIT)
    |                           |- warning: static property 'noMemoryInit' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noMemoryInit' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |     }
 32 |
[10/14] Compiling SwiftLMDB DataConvertible.swift
[11/14] Compiling SwiftLMDB Cursor.swift
[12/14] Compiling SwiftLMDB Database+Sequence.swift
[13/14] Emitting module SwiftLMDB
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:21:27: warning: static property 'reverseKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 20 |
 21 |         public static let reverseKey = Flags(rawValue: MDB_REVERSEKEY)
    |                           |- warning: static property 'reverseKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'reverseKey' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:22:27: warning: static property 'duplicateSort' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 20 |
 21 |         public static let reverseKey = Flags(rawValue: MDB_REVERSEKEY)
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
    |                           |- warning: static property 'duplicateSort' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'duplicateSort' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:23:27: warning: static property 'integerKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 21 |         public static let reverseKey = Flags(rawValue: MDB_REVERSEKEY)
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
    |                           |- warning: static property 'integerKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'integerKey' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:24:27: warning: static property 'duplicateFixed' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
    |                           |- warning: static property 'duplicateFixed' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'duplicateFixed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:25:27: warning: static property 'integerDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
    |                           |- warning: static property 'integerDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'integerDuplicate' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
 27 |         public static let create = Flags(rawValue: MDB_CREATE)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:26:27: warning: static property 'reverseDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
    |                           |- warning: static property 'reverseDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'reverseDuplicate' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |         public static let create = Flags(rawValue: MDB_CREATE)
 28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:27:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
 27 |         public static let create = Flags(rawValue: MDB_CREATE)
    |                           |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     }
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:35:27: warning: static property 'noDuplicateData' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 34 |
 35 |         public static let noDuplicateData = PutFlags(rawValue: MDB_NODUPDATA)
    |                           |- warning: static property 'noDuplicateData' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noDuplicateData' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:36:27: warning: static property 'noOverwrite' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 34 |
 35 |         public static let noDuplicateData = PutFlags(rawValue: MDB_NODUPDATA)
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
    |                           |- warning: static property 'noOverwrite' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noOverwrite' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:37:27: warning: static property 'reserve' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 35 |         public static let noDuplicateData = PutFlags(rawValue: MDB_NODUPDATA)
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
    |                           |- warning: static property 'reserve' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'reserve' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
 39 |         public static let appendDuplicate = PutFlags(rawValue: MDB_APPENDDUP)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:38:27: warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
    |                           |- warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'append' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |         public static let appendDuplicate = PutFlags(rawValue: MDB_APPENDDUP)
 40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:39:27: warning: static property 'appendDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
 39 |         public static let appendDuplicate = PutFlags(rawValue: MDB_APPENDDUP)
    |                           |- warning: static property 'appendDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'appendDuplicate' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     }
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:20:27: warning: static property 'fixedMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 19 |
 20 |         public static let fixedMap = Flags(rawValue: MDB_FIXEDMAP)
    |                           |- warning: static property 'fixedMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fixedMap' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:21:27: warning: static property 'noSubDir' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 19 |
 20 |         public static let fixedMap = Flags(rawValue: MDB_FIXEDMAP)
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
    |                           |- warning: static property 'noSubDir' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noSubDir' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:22:27: warning: static property 'noSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 20 |         public static let fixedMap = Flags(rawValue: MDB_FIXEDMAP)
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
    |                           |- warning: static property 'noSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noSync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:23:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 21 |         public static let noSubDir = Flags(rawValue: MDB_NOSUBDIR)
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
    |                           |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'readOnly' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:24:27: warning: static property 'noMetaSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 22 |         public static let noSync = Flags(rawValue: MDB_NOSYNC)
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
    |                           |- warning: static property 'noMetaSync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noMetaSync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:25:27: warning: static property 'writeMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
    |                           |- warning: static property 'writeMap' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'writeMap' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:26:27: warning: static property 'mapAsync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 24 |         public static let noMetaSync = Flags(rawValue: MDB_NOMETASYNC)
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
    |                           |- warning: static property 'mapAsync' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'mapAsync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:27:27: warning: static property 'noTLS' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 25 |         public static let writeMap = Flags(rawValue: MDB_WRITEMAP)
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
    |                           |- warning: static property 'noTLS' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noTLS' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:28:27: warning: static property 'noLock' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 26 |         public static let mapAsync = Flags(rawValue: MDB_MAPASYNC)
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
    |                           |- warning: static property 'noLock' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noLock' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
 30 |         public static let noMemoryInit = Flags(rawValue: MDB_NOMEMINIT)
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:29:27: warning: static property 'noReadahead' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 27 |         public static let noTLS = Flags(rawValue: MDB_NOTLS)
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
    |                           |- warning: static property 'noReadahead' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noReadahead' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |         public static let noMemoryInit = Flags(rawValue: MDB_NOMEMINIT)
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Environment.swift:30:27: warning: static property 'noMemoryInit' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | public class Environment {
 15 |
 16 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 17 |         public let rawValue: Int32
 18 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 28 |         public static let noLock = Flags(rawValue: MDB_NOLOCK)
 29 |         public static let noReadahead = Flags(rawValue: MDB_NORDAHEAD)
 30 |         public static let noMemoryInit = Flags(rawValue: MDB_NOMEMINIT)
    |                           |- warning: static property 'noMemoryInit' is not concurrency-safe because non-'Sendable' type 'Environment.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noMemoryInit' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |     }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/Transaction.swift:23:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Transaction.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public struct Flags: OptionSet {
   |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
20 |         public let rawValue: Int32
21 |         public init(rawValue: Int32) { self.rawValue = rawValue}
22 |
23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
   |                           |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Transaction.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'readOnly' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     }
25 |
[14/14] Compiling SwiftLMDB Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:21:27: warning: static property 'reverseKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 20 |
 21 |         public static let reverseKey = Flags(rawValue: MDB_REVERSEKEY)
    |                           |- warning: static property 'reverseKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'reverseKey' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:22:27: warning: static property 'duplicateSort' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 20 |
 21 |         public static let reverseKey = Flags(rawValue: MDB_REVERSEKEY)
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
    |                           |- warning: static property 'duplicateSort' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'duplicateSort' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:23:27: warning: static property 'integerKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 21 |         public static let reverseKey = Flags(rawValue: MDB_REVERSEKEY)
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
    |                           |- warning: static property 'integerKey' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'integerKey' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:24:27: warning: static property 'duplicateFixed' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 22 |         public static let duplicateSort = Flags(rawValue: MDB_DUPSORT)
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
    |                           |- warning: static property 'duplicateFixed' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'duplicateFixed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:25:27: warning: static property 'integerDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 23 |         public static let integerKey = Flags(rawValue: MDB_INTEGERKEY)
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
    |                           |- warning: static property 'integerDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'integerDuplicate' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
 27 |         public static let create = Flags(rawValue: MDB_CREATE)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:26:27: warning: static property 'reverseDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 24 |         public static let duplicateFixed = Flags(rawValue: MDB_DUPFIXED)
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
    |                           |- warning: static property 'reverseDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'reverseDuplicate' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |         public static let create = Flags(rawValue: MDB_CREATE)
 28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:27:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | public class Database {
 16 |
 17 |     public struct Flags: OptionSet {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
 18 |         public let rawValue: Int32
 19 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 25 |         public static let integerDuplicate = Flags(rawValue: MDB_INTEGERDUP)
 26 |         public static let reverseDuplicate = Flags(rawValue: MDB_REVERSEDUP)
 27 |         public static let create = Flags(rawValue: MDB_CREATE)
    |                           |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     }
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:35:27: warning: static property 'noDuplicateData' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 34 |
 35 |         public static let noDuplicateData = PutFlags(rawValue: MDB_NODUPDATA)
    |                           |- warning: static property 'noDuplicateData' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noDuplicateData' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:36:27: warning: static property 'noOverwrite' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
 34 |
 35 |         public static let noDuplicateData = PutFlags(rawValue: MDB_NODUPDATA)
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
    |                           |- warning: static property 'noOverwrite' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'noOverwrite' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:37:27: warning: static property 'reserve' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 35 |         public static let noDuplicateData = PutFlags(rawValue: MDB_NODUPDATA)
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
    |                           |- warning: static property 'reserve' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'reserve' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
 39 |         public static let appendDuplicate = PutFlags(rawValue: MDB_APPENDDUP)
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:38:27: warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 36 |         public static let noOverwrite = PutFlags(rawValue: MDB_NOOVERWRITE)
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
    |                           |- warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'append' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |         public static let appendDuplicate = PutFlags(rawValue: MDB_APPENDDUP)
 40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Database.swift:39:27: warning: static property 'appendDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 |     /// These flags can be passed when putting values into the database.
 31 |     public struct PutFlags: OptionSet {
    |                   `- note: consider making struct 'PutFlags' conform to the 'Sendable' protocol
 32 |         public let rawValue: Int32
 33 |         public init(rawValue: Int32) { self.rawValue = rawValue}
    :
 37 |         public static let reserve = PutFlags(rawValue: MDB_RESERVE)
 38 |         public static let append = PutFlags(rawValue: MDB_APPEND)
 39 |         public static let appendDuplicate = PutFlags(rawValue: MDB_APPENDDUP)
    |                           |- warning: static property 'appendDuplicate' is not concurrency-safe because non-'Sendable' type 'Database.PutFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'appendDuplicate' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     }
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/Transaction.swift:23:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Transaction.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public struct Flags: OptionSet {
   |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
20 |         public let rawValue: Int32
21 |         public init(rawValue: Int32) { self.rawValue = rawValue}
22 |
23 |         public static let readOnly = Flags(rawValue: MDB_RDONLY)
   |                           |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Transaction.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'readOnly' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     }
25 |
Build complete! (14.76s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "clmdb",
      "requirement" : {
        "exact" : [
          "0.9.31"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/agisboye/CLMDB.git"
    }
  ],
  "manifest_display_name" : "SwiftLMDB",
  "name" : "SwiftLMDB",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftLMDB",
      "targets" : [
        "SwiftLMDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLMDBTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLMDBTests",
      "path" : "Tests/SwiftLMDBTests",
      "sources" : [
        "SwiftLMDBTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLMDB"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLMDB",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLMDB",
      "path" : "Sources",
      "product_dependencies" : [
        "LMDB"
      ],
      "product_memberships" : [
        "SwiftLMDB"
      ],
      "sources" : [
        "Cursor.swift",
        "DataConvertible.swift",
        "Database+Sequence.swift",
        "Database.swift",
        "Environment.swift",
        "LMDBError.swift",
        "LMDBVersion.swift",
        "Stats.swift",
        "Transaction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.