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 Linux on 5 Nov 2024 10:31:54 UTC.

Swift 6 data race errors: 24

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/agisboye/swiftlmdb.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/agisboye/swiftlmdb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/agisboye/CLMDB.git
[1/43] Fetching clmdb
Fetched https://github.com/agisboye/CLMDB.git from cache (0.20s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.31 (0.58s)
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.31
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling LMDB midl.c
[3/4] Compiling LMDB mdb.c
[5/13] Compiling SwiftLMDB Stats.swift
[6/14] Compiling SwiftLMDB Transaction.swift
/host/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 |
/host/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 Database.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |
/host/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 |
[8/14] Compiling SwiftLMDB Database+Sequence.swift
[9/14] Compiling SwiftLMDB Cursor.swift
[10/14] Compiling SwiftLMDB DataConvertible.swift
[11/14] Emitting module SwiftLMDB
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |
/host/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 |
[12/14] Compiling SwiftLMDB Environment.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |
[13/14] Compiling SwiftLMDB LMDBError.swift
[14/14] Compiling SwiftLMDB LMDBVersion.swift
Build complete! (19.87s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.