The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of swift-toolchain-sqlite, reference 1.0.1 (a911e6), with Swift 6.0 for macOS (SPM) on 17 Sep 2024 03:47:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-toolchain-sqlite.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-toolchain-sqlite
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a911e64 Update to sqlite 3.46.1
Cloned https://github.com/swiftlang/swift-toolchain-sqlite.git
Revision (git rev-parse @):
a911e64716e2dbf7ebcedfa0299039eee9702e33
SUCCESS checkout https://github.com/swiftlang/swift-toolchain-sqlite.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swiftlang/swift-toolchain-sqlite.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sqlite-entitlement.plist
/Users/admin/builder/spi-builder-workspace/Sources/sqlite/shell.c:2179:9: warning: 'SQLITE_EXTENSION_INIT2' macro redefined [-Wmacro-redefined]
 2179 | #define SQLITE_EXTENSION_INIT2(X) (void)(X)
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/include/sqlite3ext.h:715:10: note: previous definition is here
  715 | # define SQLITE_EXTENSION_INIT2(v)  (void)v; /* unused parameter */
      |          ^
1 warning generated.
[1/6] Compiling sqlite shell.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:31701:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 31701 |           szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
       |                         ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:66390:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 66390 |       u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
       |                   ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:72423:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 72423 |     rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
       |                                ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:73131:43: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 73131 |       char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename));
       |                                           ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:75889:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 75889 |     amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
       |           ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:78356:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 78356 |     int nAdd = MIN(nNew,iOld-iNew);
       |                ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:80207:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 80207 |           int nCopy = MIN(nOut, nIn);
       |                       ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:80241:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 80241 |           nOut = MIN(pBt->usableSize - 4, nRem);
       |                  ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:82247:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 82247 |   const int nCopy = MIN(nSrcPgsz, nDestPgsz);
       |                     ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:82518:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 82518 |           iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
       |                  ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:84005:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 84005 |     if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
       |                                                 ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:89671:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 89671 |           int nCmp = MIN(mem1.n, pRhs->n);
       |                      ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:89699:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 89699 |           int nCmp = MIN(nStr, pRhs->n);
       |                      ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:89907:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 89907 |     nCmp = MIN( pPKey2->n, nStr );
       |            ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:93044:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 93044 |       nextIndex = MAX(idx + 1, nextIndex);
       |                   ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:103341:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 103341 |       sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
        |                            ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:103621:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 103621 |   res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
        |                         ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:103807:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 103807 |       mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
        |                 ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:103808:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 103808 |       pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
        |                            ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:104806:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 104806 |     pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
        |                   ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:105260:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 105260 |           nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
        |                     ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:106137:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 106137 |     int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
        |                 ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:106244:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 106244 |         int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
        |                      ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:106458:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 106458 |   return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
        |          ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:119510:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 119510 |   pParse->nTab = MAX(pParse->nTab, iTab);
        |                  ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:125906:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 125906 |   int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
        |               ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:158067:67: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 158067 |         aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*MAX(nEq,n));
        |                                                                   ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:159210:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 159210 |       nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
        |                   ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:159217:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 159217 |       nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
        |                   ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:163152:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 163152 |   mxBitCol = MIN(BMS-1,pTable->nCol);
        |              ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:164684:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 164684 |       pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
        |                         ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:164685:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 164685 |       pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
        |                         ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:164693:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 164693 |       pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
        |                         ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:164694:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 164694 |       pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
        |                         ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:165038:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 165038 |   nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
        |          ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:167413:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 167413 |   aFrom[0].nRow = MIN(pParse->nQueryLoop, 48);  assert( 48==sqlite3LogEst(28) );
        |                   ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14815:10: note: other definition of 'MIN'
 14815 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171349:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 171349 |     nArg = MAX(nArg, windowArgCount(pWin));
        |            ^
/Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.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/CSQLite/sqlite3.c:14818:10: note: other definition of 'MAX'
 14818 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
37 warnings generated.
[2/6] Compiling SwiftToolchainCSQLite sqlite3.c
[3/6] Write Objects.LinkFileList
[4/6] Linking sqlite
[5/6] Applying sqlite
Build complete! (3.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-toolchain-sqlite",
  "name" : "swift-toolchain-sqlite",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "sqlite",
      "targets" : [
        "sqlite"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftToolchainCSQLite",
      "targets" : [
        "SwiftToolchainCSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "sqlite",
      "module_type" : "ClangTarget",
      "name" : "sqlite",
      "path" : "Sources/sqlite",
      "product_memberships" : [
        "sqlite"
      ],
      "sources" : [
        "shell.c"
      ],
      "target_dependencies" : [
        "SwiftToolchainCSQLite"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftToolchainCSQLite",
      "module_type" : "ClangTarget",
      "name" : "SwiftToolchainCSQLite",
      "path" : "Sources/CSQLite",
      "product_memberships" : [
        "sqlite",
        "SwiftToolchainCSQLite"
      ],
      "sources" : [
        "sqlite3.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.