Build Information
Successful build of SwiftSQLite, reference v1.1.3 (7a6057
), with Swift 6.0 for macOS (SPM) on 5 Dec 2024 13:43:37 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moshegottlieb/SwiftSQLite.git
Reference: v1.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/moshegottlieb/SwiftSQLite
* tag v1.1.3 -> FETCH_HEAD
HEAD is now at 7a60571 This test is for macOS only
Cloned https://github.com/moshegottlieb/SwiftSQLite.git
Revision (git rev-parse @):
7a60571977de2afdaa82b10ba977c562fe9e9944
SUCCESS checkout https://github.com/moshegottlieb/SwiftSQLite.git at v1.1.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftsqlite",
"name": "SwiftSQLite",
"url": "https://github.com/moshegottlieb/SwiftSQLite.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSQLite",
"dependencies": [
]
}
]
}
Fetching https://github.com/moshegottlieb/SwiftSQLite.git
[1/430] Fetching swiftsqlite
Fetched https://github.com/moshegottlieb/SwiftSQLite.git from cache (1.13s)
Creating working copy for https://github.com/moshegottlieb/SwiftSQLite.git
Working copy of https://github.com/moshegottlieb/SwiftSQLite.git resolved at v1.1.3 (7a60571)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/moshegottlieb/SwiftSQLite.git
https://github.com/moshegottlieb/SwiftSQLite.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSQLite",
"name" : "SwiftSQLite",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftSQLite",
"targets" : [
"SwiftSQLite"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftSQLCipher",
"targets" : [
"SwiftSQLCipher"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftSQLCipherTest",
"targets" : [
"SwiftSQLCipherTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftSQLiteTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLiteTests",
"path" : "Tests/SwiftSQLiteTests",
"sources" : [
"SwiftSQLiteTests.swift"
],
"target_dependencies" : [
"SwiftSQLite"
],
"type" : "test"
},
{
"c99name" : "SwiftSQLite",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLite",
"path" : "Sources/SwiftSQLite",
"product_memberships" : [
"SwiftSQLite"
],
"sources" : [
"Database+Cipher.swift",
"Database+Function.swift",
"Database+Keychain.swift",
"Database.swift",
"DatabaseError.swift",
"Date+SQL.swift",
"Log.swift",
"SQLResult.swift",
"SQLValue.swift",
"Statement.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftSQLCipherTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLCipherTests",
"path" : "Tests/SwiftSQLCipherTests",
"sources" : [
"SwiftSQLiteTests.swift"
],
"target_dependencies" : [
"SwiftSQLCipher"
],
"type" : "test"
},
{
"c99name" : "SwiftSQLCipherTest",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLCipherTest",
"path" : "Sources/SwiftSQLCipherTest",
"product_memberships" : [
"SwiftSQLCipherTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftSQLCipher"
],
"type" : "executable"
},
{
"c99name" : "SwiftSQLCipher",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLCipher",
"path" : "Sources/SwiftSQLCipher",
"product_memberships" : [
"SwiftSQLCipher",
"SwiftSQLCipherTest"
],
"sources" : [
"Database+Cipher.swift",
"Database+Function.swift",
"Database+Keychain.swift",
"Database.swift",
"DatabaseError.swift",
"Date+SQL.swift",
"Log.swift",
"SQLResult.swift",
"SQLValue.swift",
"Statement.swift"
],
"target_dependencies" : [
"CSQLCipher"
],
"type" : "library"
},
{
"c99name" : "CSQLCipher",
"module_type" : "ClangTarget",
"name" : "CSQLCipher",
"path" : "Sources/CSQLCipher",
"product_memberships" : [
"SwiftSQLCipher",
"SwiftSQLCipherTest"
],
"sources" : [
"sqlite3.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/9] Write sources
[3/9] Write SwiftSQLCipherTest-entitlement.plist
[4/9] Write swift-version--7754E27361AE5C74.txt
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:31840:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
31840 | szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:66720:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
66720 | u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:72761:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
72761 | rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:76227:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
76227 | amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:78694:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
78694 | int nAdd = MIN(nNew,iOld-iNew);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:80545:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
80545 | int nCopy = MIN(nOut, nIn);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:80579:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
80579 | nOut = MIN(pBt->usableSize - 4, nRem);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:82606:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
82606 | const int nCopy = MIN(nSrcPgsz, nDestPgsz);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:82909:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
82909 | iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:84402:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
84402 | if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:90068:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
90068 | int nCmp = MIN(mem1.n, pRhs->n);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:90096:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
90096 | int nCmp = MIN(nStr, pRhs->n);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:90304:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
90304 | nCmp = MIN( pPKey2->n, nStr );
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:103738:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
103738 | sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:104018:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
104018 | res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:104204:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
104204 | mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:104205:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
104205 | pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:105203:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
105203 | pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:105657:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
105657 | nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:106534:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
106534 | int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:106641:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
106641 | int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:106855:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
106855 | return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:124588:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
124588 | pParse->nTab = MAX(pParse->nTab, iTab);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:131021:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
131021 | int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:163316:67: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
163316 | aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*MAX(nEq,n));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:164459:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
164459 | nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:164466:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
164466 | nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:168401:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
168401 | mxBitCol = MIN(BMS-1,pTable->nCol);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:169933:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
169933 | pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:169934:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
169934 | pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:169942:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
169942 | pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:169943:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
169943 | pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:170287:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
170287 | nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:172662:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
172662 | aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:176598:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
176598 | nArg = MAX(nArg, windowArgCount(pWin));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:203024:11: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
203024 | nRead = MIN(pReader->nNode - pReader->nPopulate, FTS3_NODE_CHUNKSIZE);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:205963:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
205963 | int nCmp = MIN(nLhs, nRhs);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:206111:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
206111 | MAX(nRoot, p->nNodeSize)+FTS3_NODE_PADDING, &rc
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:206141:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
206141 | MAX(nBlock, p->nNodeSize)+FTS3_NODE_PADDING, &rc
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:206719:37: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
206719 | sqlite3_bind_int(pFindLevel, 1, MAX(2, nMin));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:206748:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
206748 | nSeg = MIN(MAX(nMin,nSeg), nHintSeg);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:206748:20: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
206748 | nSeg = MIN(MAX(nMin,nSeg), nHintSeg);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:217761:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
217761 | p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:217762:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
217762 | p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:217767:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
217767 | p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:217768:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
217768 | p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:217809:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
217809 | x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj]));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:217810:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
217810 | x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1]));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:218930:21: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
218930 | pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:244237:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
244237 | p->iHeight = MAX(p->iHeight, p->apChild[ii]->iHeight + 1);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:245641:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
245641 | int nMin = MIN(p1->nKey, p2->nKey);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:246580:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
246580 | nCmp = MIN(pLeft->n, pRight->n);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:246957:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
246957 | nOriginCntr = MAX(nOriginCntr, pSeg->iOrigin2);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:247645:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
247645 | int iEod = MIN(pIter->iEndofDoclist, pIter->pLeaf->szLeaf);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:248343:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
248343 | nCmp = (u32)MIN(nNew, nTerm-nMatch);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:249349:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
249349 | int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:249374:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
249374 | nChunk = MIN(nRem, pData->szLeaf - 4);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:249718:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
249718 | nSeg = MIN(pStruct->aLevel[iLevel].nSeg, nSegment);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:250224:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
250224 | int nMin = MIN(pPage->term.n, nTerm);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:251163:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
251163 | nPrefix = MIN(nPrefix, nPrefix2);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:251579:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
251579 | pNew->nLevel = MIN(pStruct->nLevel+1, FTS5_MAX_LEVEL);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:252095:40: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
252095 | assert_nc( memcmp(pToken, pTerm, MIN(nToken, nTerm))<=0 );
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:253343:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
253343 | int nSlotPerPage = MAX(MINSLOT, (p->pConfig->pgsz - 8) / szKey);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:253373:13: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
253373 | nSlot = MAX(nElem*4, MINSLOT);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14915:10: note: other definition of 'MAX'
14915 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:253880:53: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
253880 | res = fts5Memcmp(&pLeaf->p[iOff], zIdxTerm, MIN(nTerm, nIdxTerm));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:262248:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
262248 | int nCmp = MIN(nTerm, pCsr->nLeTerm);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:262322:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
262322 | int nCmp = MIN(nTerm, pCsr->nLeTerm);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLCipher/sqlite3.c:14912:10: note: other definition of 'MIN'
14912 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
67 warnings generated.
[5/19] Compiling CSQLCipher sqlite3.c
[7/29] Compiling SwiftSQLite DatabaseError.swift
[8/29] Compiling SwiftSQLite Log.swift
[9/29] Compiling SwiftSQLite SQLValue.swift
[10/30] Compiling SwiftSQLite Database+Cipher.swift
[11/30] Compiling SwiftSQLite Date+SQL.swift
[12/30] Compiling SwiftSQLite SQLResult.swift
[13/30] Compiling SwiftSQLite Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:25:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Set a default logger
25 | public static var logger: Log?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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 |
27 | /// Open mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:36:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
34 |
35 | /// The database is opened in read-only mode. If the database does not already exist, an error is returned.
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:38:27: warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
| |- warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWrite' 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 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:40:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
39 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
41 | }
42 |
[14/30] Compiling SwiftSQLite Database+Function.swift
[15/30] Compiling SwiftSQLite Database+Keychain.swift
[16/30] Emitting module SwiftSQLite
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:25:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Set a default logger
25 | public static var logger: Log?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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 |
27 | /// Open mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:36:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
34 |
35 | /// The database is opened in read-only mode. If the database does not already exist, an error is returned.
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:38:27: warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
| |- warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWrite' 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 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLite/Database.swift:40:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
39 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
41 | }
42 |
[17/30] Compiling SwiftSQLite Statement.swift
[18/30] Compiling SwiftSQLCipher SQLValue.swift
[19/31] Compiling SwiftSQLCipher SQLResult.swift
[20/31] Compiling SwiftSQLCipher Log.swift
[21/31] Compiling SwiftSQLCipher Date+SQL.swift
[22/31] Compiling SwiftSQLCipher Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:25:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Set a default logger
25 | public static var logger: Log?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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 |
27 | /// Open mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:36:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
34 |
35 | /// The database is opened in read-only mode. If the database does not already exist, an error is returned.
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:38:27: warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
| |- warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWrite' 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 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:40:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
39 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
41 | }
42 |
[23/31] Compiling SwiftSQLCipher Database+Keychain.swift
[24/31] Compiling SwiftSQLCipher Database+Function.swift
[25/31] Compiling SwiftSQLCipher Database+Cipher.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:25:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Set a default logger
25 | public static var logger: Log?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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 |
27 | /// Open mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:40:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
39 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
41 | }
42 |
[26/31] Emitting module SwiftSQLCipher
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:25:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Set a default logger
25 | public static var logger: Log?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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 |
27 | /// Open mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:36:27: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
34 |
35 | /// The database is opened in read-only mode. If the database does not already exist, an error is returned.
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:38:27: warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
36 | public static let readOnly = OpenMode(rawValue: SQLITE_OPEN_READONLY)
37 | /// The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
| |- warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWrite' 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 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:40:27: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Open mode
28 | public struct OpenMode : OptionSet {
| `- note: consider making struct 'OpenMode' conform to the 'Sendable' protocol
29 | public init(rawValue:Int32){
30 | self.rawValue = rawValue
:
38 | public static let readWrite = OpenMode(rawValue: SQLITE_OPEN_READWRITE)
39 | /// The database is opened for reading and writing, and is created if it does not already exist.
40 | public static let create = OpenMode(rawValue: SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
| |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Database.OpenMode' 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
41 | }
42 |
[27/31] Compiling SwiftSQLCipher DatabaseError.swift
[28/31] Compiling SwiftSQLCipher Statement.swift
[29/33] Emitting module SwiftSQLCipherTest
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipherTest/main.swift:19:18: warning: reference to class property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | do {
18 | if #available(macOS 11.0, *) {
19 | Database.logger = SQLLogger()
| `- warning: reference to class property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 | let filename = FileManager.default.temporaryDirectory.path.appending("/test.db")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:25:23: note: class property declared here
23 |
24 | /// Set a default logger
25 | public static var logger: Log?
| `- note: class property declared here
26 |
27 | /// Open mode
[30/33] Compiling SwiftSQLCipherTest main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipherTest/main.swift:19:18: warning: reference to class property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | do {
18 | if #available(macOS 11.0, *) {
19 | Database.logger = SQLLogger()
| `- warning: reference to class property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 | let filename = FileManager.default.temporaryDirectory.path.appending("/test.db")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSQLCipher/Database.swift:25:23: note: class property declared here
23 |
24 | /// Set a default logger
25 | public static var logger: Log?
| `- note: class property declared here
26 |
27 | /// Open mode
[30/33] Write Objects.LinkFileList
[31/33] Linking SwiftSQLCipherTest
[32/33] Applying SwiftSQLCipherTest
Build complete! (26.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSQLite",
"name" : "SwiftSQLite",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftSQLite",
"targets" : [
"SwiftSQLite"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftSQLCipher",
"targets" : [
"SwiftSQLCipher"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftSQLCipherTest",
"targets" : [
"SwiftSQLCipherTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftSQLiteTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLiteTests",
"path" : "Tests/SwiftSQLiteTests",
"sources" : [
"SwiftSQLiteTests.swift"
],
"target_dependencies" : [
"SwiftSQLite"
],
"type" : "test"
},
{
"c99name" : "SwiftSQLite",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLite",
"path" : "Sources/SwiftSQLite",
"product_memberships" : [
"SwiftSQLite"
],
"sources" : [
"Database+Cipher.swift",
"Database+Function.swift",
"Database+Keychain.swift",
"Database.swift",
"DatabaseError.swift",
"Date+SQL.swift",
"Log.swift",
"SQLResult.swift",
"SQLValue.swift",
"Statement.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftSQLCipherTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLCipherTests",
"path" : "Tests/SwiftSQLCipherTests",
"sources" : [
"SwiftSQLiteTests.swift"
],
"target_dependencies" : [
"SwiftSQLCipher"
],
"type" : "test"
},
{
"c99name" : "SwiftSQLCipherTest",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLCipherTest",
"path" : "Sources/SwiftSQLCipherTest",
"product_memberships" : [
"SwiftSQLCipherTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftSQLCipher"
],
"type" : "executable"
},
{
"c99name" : "SwiftSQLCipher",
"module_type" : "SwiftTarget",
"name" : "SwiftSQLCipher",
"path" : "Sources/SwiftSQLCipher",
"product_memberships" : [
"SwiftSQLCipher",
"SwiftSQLCipherTest"
],
"sources" : [
"Database+Cipher.swift",
"Database+Function.swift",
"Database+Keychain.swift",
"Database.swift",
"DatabaseError.swift",
"Date+SQL.swift",
"Log.swift",
"SQLResult.swift",
"SQLValue.swift",
"Statement.swift"
],
"target_dependencies" : [
"CSQLCipher"
],
"type" : "library"
},
{
"c99name" : "CSQLCipher",
"module_type" : "ClangTarget",
"name" : "CSQLCipher",
"path" : "Sources/CSQLCipher",
"product_memberships" : [
"SwiftSQLCipher",
"SwiftSQLCipherTest"
],
"sources" : [
"sqlite3.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.