The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CSQLite, reference main (3e8f22), with Swift 6.1 for macOS (SPM) on 6 Jun 2025 19:23:06 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CSQLite.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/CSQLite
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3e8f22b Add ENABLE_FTS4 package trait (#78)
Cloned https://github.com/sbooth/CSQLite.git
Revision (git rev-parse @):
3e8f22bcf9b6b155ac4b1f22d68d52ebbeccf4f4
SUCCESS checkout https://github.com/sbooth/CSQLite.git at main
========================================
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": "csqlite",
      "name": "CSQLite",
      "url": "https://github.com/sbooth/CSQLite.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSQLite",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sbooth/CSQLite.git
[1/1282] Fetching csqlite
Fetched https://github.com/sbooth/CSQLite.git from cache (1.32s)
Creating working copy for https://github.com/sbooth/CSQLite.git
Working copy of https://github.com/sbooth/CSQLite.git resolved at main (3e8f22b)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sbooth/CSQLite.git
https://github.com/sbooth/CSQLite.git
{
  "c_language_standard" : "gnu11",
  "dependencies" : [
  ],
  "manifest_display_name" : "CSQLite",
  "name" : "CSQLite",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSQLite",
      "targets" : [
        "CSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSQLiteTests",
      "module_type" : "SwiftTarget",
      "name" : "CSQLiteTests",
      "path" : "Tests/CSQLiteTests",
      "sources" : [
        "CSQLiteBasicTests.swift",
        "CSQLiteExtensionTests.swift",
        "CSQLiteFeatureTests.swift"
      ],
      "target_dependencies" : [
        "CSQLite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSQLite",
      "module_type" : "ClangTarget",
      "name" : "CSQLite",
      "path" : "Sources/CSQLite",
      "product_memberships" : [
        "CSQLite"
      ],
      "sources" : [
        "carray.c",
        "csqlite_shims.c",
        "decimal.c",
        "ieee754.c",
        "percentile.c",
        "series.c",
        "shathree.c",
        "sqlite3.c",
        "uuid.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/9] Compiling CSQLite csqlite_shims.c
[1/9] Compiling CSQLite ieee754.c
[2/9] Compiling CSQLite shathree.c
[3/9] Compiling CSQLite uuid.c
[4/9] Compiling CSQLite series.c
[5/9] Compiling CSQLite decimal.c
[6/9] Compiling CSQLite percentile.c
[7/9] Compiling CSQLite carray.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:32212:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 32212 |           szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
       |                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:67360:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 67360 |       u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
       |                   ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:73429:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 73429 |     rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
       |                                ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:76922:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 76922 |     amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
       |           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:79392:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 79392 |     int nAdd = MIN(nNew,iOld-iNew);
       |                ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:81251:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 81251 |           int nCopy = MIN(nOut, nIn);
       |                       ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:81285:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 81285 |           nOut = MIN(pBt->usableSize - 4, nRem);
       |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:83292:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 83292 |   const int nCopy = MIN(nSrcPgsz, nDestPgsz);
       |                     ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:83563:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 83563 |           iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
       |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:85053:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 85053 |     if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
       |                                                 ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:90737:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 90737 |           int nCmp = MIN(mem1.n, pRhs->n);
       |                      ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:90765:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 90765 |           int nCmp = MIN(nStr, pRhs->n);
       |                      ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:90973:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 90973 |     nCmp = MIN( pPKey2->n, nStr );
       |            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:94173:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 94173 |       nextIndex = MAX(idx + 1, nextIndex);
       |                   ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:104633:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 104633 |       sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
        |                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:104914:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 104914 |   res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
        |                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:105102:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 105102 |       mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
        |                 ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:105103:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 105103 |       pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
        |                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:106105:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 106105 |     pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
        |                   ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:106559:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 106559 |           nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
        |                     ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107436:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107436 |     int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
        |                 ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107543:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107543 |         int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
        |                      ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107757:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 107757 |   return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
        |          ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:121107:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 121107 |   pParse->nTab = MAX(pParse->nTab, iTab);
        |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:127494:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 127494 |   int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
        |               ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:160272:65: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 160272 |       aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*MAX(nEq,n));
        |                                                                 ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:161465:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 161465 |       nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
        |                   ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:161472:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 161472 |       nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
        |                   ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:165516:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 165516 |   mxBitCol = MIN(BMS-1,pTable->nCol);
        |              ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:166199:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 166199 |   nField = MIN(pRec->nField, nField);
        |            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:167116:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 167116 |       pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
        |                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:167117:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 167117 |       pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
        |                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:167125:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 167125 |       pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
        |                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:167126:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 167126 |       pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
        |                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:167470:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 167470 |   nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
        |          ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:170166:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 170166 |   aFrom[0].nRow = MIN(pParse->nQueryLoop, 48);  assert( 48==sqlite3LogEst(28) );
        |                   ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:174096:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 174096 |     nArg = MAX(nArg, windowArgCount(pWin));
        |            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:215549:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 215549 |       p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f);
        |                          ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:215550:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 215550 |       p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f);
        |                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:215555:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 215555 |       p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i);
        |                          ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:215556:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 215556 |       p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i);
        |                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:215597:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 215597 |       x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj]));
        |            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:215598:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 215598 |       x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1]));
        |            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:216718:21: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 216718 |   pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST);
        |                     ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:242593:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 242593 |     p->iHeight = MAX(p->iHeight, p->apChild[ii]->iHeight + 1);
        |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:244003:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 244003 |       int nMin = MIN(p1->nKey, p2->nKey);
        |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:244957:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 244957 |   nCmp = MIN(pLeft->n, pRight->n);
        |          ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:245339:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 245339 |             nOriginCntr = MAX(nOriginCntr, pSeg->iOrigin2);
        |                           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:246024:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 246024 |       int iEod = MIN(pIter->iEndofDoclist, pIter->pLeaf->szLeaf);
        |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:246722:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 246722 |       nCmp = (u32)MIN(nNew, nTerm-nMatch);
        |                   ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:247727:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 247727 |   int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
        |                ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:247752:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 247752 |       nChunk = MIN(nRem, pData->szLeaf - 4);
        |                ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:248096:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 248096 |       nSeg = MIN(pStruct->aLevel[iLevel].nSeg, nSegment);
        |              ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:248602:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 248602 |   int nMin = MIN(pPage->term.n, nTerm);
        |              ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:249554:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 249554 |       nPrefix = MIN(nPrefix, nPrefix2);
        |                 ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:249995:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 249995 |     pNew->nLevel = MIN(pStruct->nLevel+1, FTS5_MAX_LEVEL);
        |                    ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:250660:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 250660 |         int n1 = MIN(nHalf, pT->nMap-i1);
        |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:250661:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 250661 |         int n2 = MIN(nHalf, pT->nMap-i1-n1);
        |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:252110:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 252110 |   int nSlotPerPage = MAX(MINSLOT, (p->pConfig->pgsz - 8) / szKey);
        |                      ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:252140:13: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 252140 |     nSlot = MAX(nElem*4, MINSLOT);
        |             ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15199:10: note: other definition of 'MAX'
 15199 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:252647:53: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 252647 |         res = fts5Memcmp(&pLeaf->p[iOff], zIdxTerm, MIN(nTerm, nIdxTerm));
        |                                                     ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:262075:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 262075 |       int nCmp = MIN(nTerm, pCsr->nLeTerm);
        |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:262149:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 262149 |         int nCmp = MIN(nTerm, pCsr->nLeTerm);
        |                    ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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:15196:10: note: other definition of 'MIN'
 15196 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
63 warnings generated.
[8/9] Compiling CSQLite sqlite3.c
Build complete! (3.24s)
Build complete.
{
  "c_language_standard" : "gnu11",
  "dependencies" : [
  ],
  "manifest_display_name" : "CSQLite",
  "name" : "CSQLite",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSQLite",
      "targets" : [
        "CSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSQLiteTests",
      "module_type" : "SwiftTarget",
      "name" : "CSQLiteTests",
      "path" : "Tests/CSQLiteTests",
      "sources" : [
        "CSQLiteBasicTests.swift",
        "CSQLiteExtensionTests.swift",
        "CSQLiteFeatureTests.swift"
      ],
      "target_dependencies" : [
        "CSQLite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSQLite",
      "module_type" : "ClangTarget",
      "name" : "CSQLite",
      "path" : "Sources/CSQLite",
      "product_memberships" : [
        "CSQLite"
      ],
      "sources" : [
        "carray.c",
        "csqlite_shims.c",
        "decimal.c",
        "ieee754.c",
        "percentile.c",
        "series.c",
        "shathree.c",
        "sqlite3.c",
        "uuid.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.