The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftLMDB, reference master (d216f0), with Swift 6.1 for macOS (SPM) on 5 Sep 2025 20:20:42 UTC.

Swift 6 data race errors: 24

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

========================================
RunAll
========================================
Builder version: 4.67.1
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 d216f0d Fix typo
Cloned https://github.com/agisboye/swiftlmdb.git
Revision (git rev-parse @):
d216f0d088441c3c5de07b66585f527dc57854ca
SUCCESS checkout https://github.com/agisboye/swiftlmdb.git at master
Fetching https://github.com/agisboye/CLMDB.git
[3/45] Fetching clmdb
Fetched https://github.com/agisboye/CLMDB.git from cache (0.64s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (1.26s)
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.33
========================================
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.33",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CLMDB",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/agisboye/swiftlmdb.git
[1/448] Fetching swiftlmdb
Fetched https://github.com/agisboye/swiftlmdb.git from cache (0.77s)
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.33 (0.52s)
Creating working copy for https://github.com/agisboye/swiftlmdb.git
Working copy of https://github.com/agisboye/swiftlmdb.git resolved at master (d216f0d)
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.33
warning: '.resolve-product-dependencies': dependency 'swiftlmdb' is not used by any target
Found 1 product dependencies
  - CLMDB
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/agisboye/swiftlmdb.git
https://github.com/agisboye/swiftlmdb.git
{
  "dependencies" : [
    {
      "identity" : "clmdb",
      "requirement" : {
        "exact" : [
          "0.9.33"
        ]
      },
      "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"
}
Running build ...
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
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling LMDB midl.c
[3/4] Compiling LMDB mdb.c
[5/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: add '@MainActor' to make static property 'readOnly' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     }
25 |
[6/14] Compiling SwiftLMDB Database+Sequence.swift
[7/14] Compiling SwiftLMDB LMDBError.swift
[8/14] Compiling SwiftLMDB DataConvertible.swift
[9/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: add '@MainActor' to make static property 'reverseKey' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'duplicateSort' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'integerKey' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'duplicateFixed' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'integerDuplicate' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'reverseDuplicate' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'create' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noDuplicateData' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noOverwrite' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'reserve' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'append' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'appendDuplicate' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     }
 41 |
[10/14] Compiling SwiftLMDB Cursor.swift
[11/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: add '@MainActor' to make static property 'reverseKey' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'duplicateSort' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'integerKey' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'duplicateFixed' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'integerDuplicate' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'reverseDuplicate' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'create' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noDuplicateData' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noOverwrite' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'reserve' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'append' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'appendDuplicate' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'fixedMap' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noSubDir' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noSync' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'readOnly' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noMetaSync' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'writeMap' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'mapAsync' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noTLS' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noLock' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noReadahead' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noMemoryInit' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'readOnly' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     }
25 |
[12/14] Compiling SwiftLMDB Stats.swift
[13/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: add '@MainActor' to make static property 'fixedMap' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noSubDir' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noSync' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'readOnly' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noMetaSync' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'writeMap' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'mapAsync' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noTLS' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noLock' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noReadahead' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'noMemoryInit' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |     }
 32 |
[14/14] Compiling SwiftLMDB LMDBVersion.swift
Build complete! (5.68s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "clmdb",
      "requirement" : {
        "exact" : [
          "0.9.33"
        ]
      },
      "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.