Build Information
Successful build of RapidLMDB with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 25
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/RapidLMDB.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tannerdsilva/RapidLMDB
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0ecb7c1 project end of life. please use QuickLMDB
Cloned https://github.com/tannerdsilva/RapidLMDB.git
Revision (git rev-parse @):
0ecb7c17395f76c5bb34d00ea7bebe9dd6482839
SUCCESS checkout https://github.com/tannerdsilva/RapidLMDB.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/tannerdsilva/RapidLMDB.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-6F35C1178C84523A.txt
[2/4] Compiling CLMDB midl.c
[3/4] Compiling CLMDB mdb.c
[5/11] Compiling RapidLMDB Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:11:21: 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
10 |
11 | public static let reverseKey = Flags(rawValue: UInt32(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
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:12:21: warning: static property 'dupSort' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
10 |
11 | public static let reverseKey = Flags(rawValue: UInt32(MDB_REVERSEKEY))
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
| |- warning: static property 'dupSort' 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 'dupSort' 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
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:13:21: 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
11 | public static let reverseKey = Flags(rawValue: UInt32(MDB_REVERSEKEY))
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
13 | public static let integerKey = Flags(rawValue: UInt32(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
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:14:21: warning: static property 'dupFixed' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
| |- warning: static property 'dupFixed' 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 'dupFixed' 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
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:15:21: warning: static property 'integerDup' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
| |- warning: static property 'integerDup' 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 'integerDup' 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
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
17 | public static let create = Flags(rawValue: UInt32(MDB_CREATE))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:16:21: warning: static property 'reverseDup' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
| |- warning: static property 'reverseDup' 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 'reverseDup' 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
17 | public static let create = Flags(rawValue: UInt32(MDB_CREATE))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:17:21: 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
17 | public static let create = Flags(rawValue: UInt32(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
18 | }
19 | public struct Statistics {
[6/11] Compiling RapidLMDB LMDBError.swift
[7/11] Compiling RapidLMDB Transaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:9:21: warning: static property 'noOverwrite' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
8 |
9 | public static let noOverwrite = Flags(rawValue: UInt32(MDB_NOOVERWRITE))
| |- warning: static property 'noOverwrite' 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 '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
10 | public static let noDupData = Flags(rawValue: UInt32(MDB_NODUPDATA))
11 |
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:10:21: warning: static property 'noDupData' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
8 |
9 | public static let noOverwrite = Flags(rawValue: UInt32(MDB_NOOVERWRITE))
10 | public static let noDupData = Flags(rawValue: UInt32(MDB_NODUPDATA))
| |- warning: static property 'noDupData' 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 'noDupData' 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
11 |
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:12:21: warning: static property 'current' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
10 | public static let noDupData = Flags(rawValue: UInt32(MDB_NODUPDATA))
11 |
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
| |- warning: static property 'current' 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 'current' 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
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:13:21: warning: static property 'reserve' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
11 |
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
| |- warning: static property 'reserve' 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 '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
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:14:21: warning: static property 'append' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
| |- warning: static property 'append' 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 '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
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
16 | public static let multiple = Flags(rawValue: UInt32(MDB_MULTIPLE))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:15:21: warning: static property 'appendDup' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
| |- warning: static property 'appendDup' 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 'appendDup' 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
16 | public static let multiple = Flags(rawValue: UInt32(MDB_MULTIPLE))
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:16:21: warning: static property 'multiple' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
16 | public static let multiple = Flags(rawValue: UInt32(MDB_MULTIPLE))
| |- warning: static property 'multiple' 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 'multiple' 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
17 | }
18 |
[8/11] Compiling RapidLMDB Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:12:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
11 |
12 | public static let fixedMap = Flags(rawValue: UInt32(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
13 | public static let noSubDir = Flags(rawValue: UInt32(MDB_NOSUBDIR))
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:13:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
11 |
12 | public static let fixedMap = Flags(rawValue: UInt32(MDB_FIXEDMAP))
13 | public static let noSubDir = Flags(rawValue: UInt32(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
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:14:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
12 | public static let fixedMap = Flags(rawValue: UInt32(MDB_FIXEDMAP))
13 | public static let noSubDir = Flags(rawValue: UInt32(MDB_NOSUBDIR))
14 | public static let noSync = Flags(rawValue: UInt32(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
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:15:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
13 | public static let noSubDir = Flags(rawValue: UInt32(MDB_NOSUBDIR))
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
15 | public static let readOnly = Flags(rawValue: UInt32(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
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:16:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
16 | public static let noMetaSync = Flags(rawValue: UInt32(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
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:17:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
17 | public static let writeMap = Flags(rawValue: UInt32(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
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:18:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
18 | public static let mapAsync = Flags(rawValue: UInt32(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
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:19:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
19 | public static let noTLS = Flags(rawValue: UInt32(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
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
21 | public static let noReadahead = Flags(rawValue: UInt32(MDB_NORDAHEAD))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:20:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
20 | public static let noLock = Flags(rawValue: UInt32(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
21 | public static let noReadahead = Flags(rawValue: UInt32(MDB_NORDAHEAD))
22 | public static let noMemoryInit = Flags(rawValue: UInt32(MDB_NOMEMINIT))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:21:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
21 | public static let noReadahead = Flags(rawValue: UInt32(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
22 | public static let noMemoryInit = Flags(rawValue: UInt32(MDB_NOMEMINIT))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:22:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
21 | public static let noReadahead = Flags(rawValue: UInt32(MDB_NORDAHEAD))
22 | public static let noMemoryInit = Flags(rawValue: UInt32(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
23 | }
24 |
[9/11] Emitting module RapidLMDB
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:11:21: 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
10 |
11 | public static let reverseKey = Flags(rawValue: UInt32(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
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:12:21: warning: static property 'dupSort' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
10 |
11 | public static let reverseKey = Flags(rawValue: UInt32(MDB_REVERSEKEY))
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
| |- warning: static property 'dupSort' 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 'dupSort' 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
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:13:21: 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
11 | public static let reverseKey = Flags(rawValue: UInt32(MDB_REVERSEKEY))
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
13 | public static let integerKey = Flags(rawValue: UInt32(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
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:14:21: warning: static property 'dupFixed' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
12 | public static let dupSort = Flags(rawValue: UInt32(MDB_DUPSORT))
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
| |- warning: static property 'dupFixed' 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 'dupFixed' 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
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:15:21: warning: static property 'integerDup' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
13 | public static let integerKey = Flags(rawValue: UInt32(MDB_INTEGERKEY))
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
| |- warning: static property 'integerDup' 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 'integerDup' 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
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
17 | public static let create = Flags(rawValue: UInt32(MDB_CREATE))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:16:21: warning: static property 'reverseDup' 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
14 | public static let dupFixed = Flags(rawValue: UInt32(MDB_DUPFIXED))
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
| |- warning: static property 'reverseDup' 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 'reverseDup' 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
17 | public static let create = Flags(rawValue: UInt32(MDB_CREATE))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Database.swift:17:21: 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
5 |
6 | public struct Database {
7 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
8 | public let rawValue:UInt32
9 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
15 | public static let integerDup = Flags(rawValue: UInt32(MDB_INTEGERDUP))
16 | public static let reverseDup = Flags(rawValue: UInt32(MDB_REVERSEDUP))
17 | public static let create = Flags(rawValue: UInt32(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
18 | }
19 | public struct Statistics {
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:12:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
11 |
12 | public static let fixedMap = Flags(rawValue: UInt32(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
13 | public static let noSubDir = Flags(rawValue: UInt32(MDB_NOSUBDIR))
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:13:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
11 |
12 | public static let fixedMap = Flags(rawValue: UInt32(MDB_FIXEDMAP))
13 | public static let noSubDir = Flags(rawValue: UInt32(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
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:14:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
12 | public static let fixedMap = Flags(rawValue: UInt32(MDB_FIXEDMAP))
13 | public static let noSubDir = Flags(rawValue: UInt32(MDB_NOSUBDIR))
14 | public static let noSync = Flags(rawValue: UInt32(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
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:15:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
13 | public static let noSubDir = Flags(rawValue: UInt32(MDB_NOSUBDIR))
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
15 | public static let readOnly = Flags(rawValue: UInt32(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
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:16:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
14 | public static let noSync = Flags(rawValue: UInt32(MDB_NOSYNC))
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
16 | public static let noMetaSync = Flags(rawValue: UInt32(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
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:17:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
15 | public static let readOnly = Flags(rawValue: UInt32(MDB_RDONLY))
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
17 | public static let writeMap = Flags(rawValue: UInt32(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
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:18:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
16 | public static let noMetaSync = Flags(rawValue: UInt32(MDB_NOMETASYNC))
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
18 | public static let mapAsync = Flags(rawValue: UInt32(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
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:19:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
17 | public static let writeMap = Flags(rawValue: UInt32(MDB_WRITEMAP))
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
19 | public static let noTLS = Flags(rawValue: UInt32(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
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
21 | public static let noReadahead = Flags(rawValue: UInt32(MDB_NORDAHEAD))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:20:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
18 | public static let mapAsync = Flags(rawValue: UInt32(MDB_MAPASYNC))
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
20 | public static let noLock = Flags(rawValue: UInt32(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
21 | public static let noReadahead = Flags(rawValue: UInt32(MDB_NORDAHEAD))
22 | public static let noMemoryInit = Flags(rawValue: UInt32(MDB_NOMEMINIT))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:21:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
19 | public static let noTLS = Flags(rawValue: UInt32(MDB_NOTLS))
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
21 | public static let noReadahead = Flags(rawValue: UInt32(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
22 | public static let noMemoryInit = Flags(rawValue: UInt32(MDB_NOMEMINIT))
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Environment.swift:22:21: 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
6 | Configuration flags of the environment
7 | */
8 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 | public init(rawValue: UInt32) { self.rawValue = rawValue }
:
20 | public static let noLock = Flags(rawValue: UInt32(MDB_NOLOCK))
21 | public static let noReadahead = Flags(rawValue: UInt32(MDB_NORDAHEAD))
22 | public static let noMemoryInit = Flags(rawValue: UInt32(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
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:9:21: warning: static property 'noOverwrite' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
8 |
9 | public static let noOverwrite = Flags(rawValue: UInt32(MDB_NOOVERWRITE))
| |- warning: static property 'noOverwrite' 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 '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
10 | public static let noDupData = Flags(rawValue: UInt32(MDB_NODUPDATA))
11 |
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:10:21: warning: static property 'noDupData' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
8 |
9 | public static let noOverwrite = Flags(rawValue: UInt32(MDB_NOOVERWRITE))
10 | public static let noDupData = Flags(rawValue: UInt32(MDB_NODUPDATA))
| |- warning: static property 'noDupData' 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 'noDupData' 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
11 |
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:12:21: warning: static property 'current' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
10 | public static let noDupData = Flags(rawValue: UInt32(MDB_NODUPDATA))
11 |
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
| |- warning: static property 'current' 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 'current' 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
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:13:21: warning: static property 'reserve' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
11 |
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
| |- warning: static property 'reserve' 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 '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
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:14:21: warning: static property 'append' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
12 | public static let current = Flags(rawValue: UInt32(MDB_CURRENT))
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
| |- warning: static property 'append' 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 '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
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
16 | public static let multiple = Flags(rawValue: UInt32(MDB_MULTIPLE))
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:15:21: warning: static property 'appendDup' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
13 | public static let reserve = Flags(rawValue: UInt32(MDB_RESERVE))
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
| |- warning: static property 'appendDup' 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 'appendDup' 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
16 | public static let multiple = Flags(rawValue: UInt32(MDB_MULTIPLE))
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/RapidLMDB/Transaction.swift:16:21: warning: static property 'multiple' 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
3 |
4 | public class Transaction {
5 | public struct Flags:OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
6 | public let rawValue:UInt32
7 | public init(rawValue:UInt32) { self.rawValue = rawValue }
:
14 | public static let append = Flags(rawValue: UInt32(MDB_APPEND))
15 | public static let appendDup = Flags(rawValue: UInt32(MDB_APPENDDUP))
16 | public static let multiple = Flags(rawValue: UInt32(MDB_MULTIPLE))
| |- warning: static property 'multiple' 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 'multiple' 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
17 | }
18 |
[10/11] Compiling RapidLMDB DataConvertible.swift
[11/11] Compiling RapidLMDB Cursor.swift
Build complete! (31.68s)
Fetching https://github.com/tannerdsilva/CLMDB.git
[1/42] Fetching clmdb
Fetched https://github.com/tannerdsilva/CLMDB.git from cache (0.63s)
Computing version for https://github.com/tannerdsilva/CLMDB.git
Computed https://github.com/tannerdsilva/CLMDB.git at 0.9.29 (0.71s)
Creating working copy for https://github.com/tannerdsilva/CLMDB.git
Working copy of https://github.com/tannerdsilva/CLMDB.git resolved at 0.9.29
Build complete.
{
"dependencies" : [
{
"identity" : "clmdb",
"requirement" : {
"exact" : [
"0.9.29"
]
},
"type" : "sourceControl",
"url" : "https://github.com/tannerdsilva/CLMDB.git"
}
],
"manifest_display_name" : "RapidLMDB",
"name" : "RapidLMDB",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RapidLMDB",
"targets" : [
"RapidLMDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RapidLMDBTests",
"module_type" : "SwiftTarget",
"name" : "RapidLMDBTests",
"path" : "Tests/RapidLMDBTests",
"sources" : [
"RapidLMDBTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"RapidLMDB"
],
"type" : "test"
},
{
"c99name" : "RapidLMDB",
"module_type" : "SwiftTarget",
"name" : "RapidLMDB",
"path" : "Sources/RapidLMDB",
"product_dependencies" : [
"CLMDB"
],
"product_memberships" : [
"RapidLMDB"
],
"sources" : [
"Cursor.swift",
"DataConvertible.swift",
"Database.swift",
"Environment.swift",
"LMDBError.swift",
"Transaction.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.