Build Information
Successful build of SQLiteVec, reference main (150424), with Swift 5.10 for macOS (SPM) on 20 Nov 2025 09:53:47 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/SQLiteVec.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkrukowski/SQLiteVec
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1504246 update SQLite to 3510000
Cloned https://github.com/jkrukowski/SQLiteVec.git
Revision (git rev-parse @):
1504246d0900db950a5065f43fce964bf4adceda
SUCCESS checkout https://github.com/jkrukowski/SQLiteVec.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/jkrukowski/SQLiteVec.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[2/10] Write SQLiteVecCLI-entitlement.plist
[3/10] Write swift-version-33747A42983211AE.txt
[4/10] Compiling CSQLiteVec extinit.c
[5/10] Compiling CSQLiteVec sqlite-vec.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:32567:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:68241:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:74319:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:75028:43: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:77817:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:80310:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nAdd = MIN(nNew,iOld-iNew);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:82174:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nOut, nIn);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:82208:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nOut = MIN(pBt->usableSize - 4, nRem);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:84216:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
const int nCopy = MIN(nSrcPgsz, nDestPgsz);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:84487:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:85977:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:91671:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(mem1.n, pRhs->n);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:91699:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nStr, pRhs->n);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:91907:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN( pPKey2->n, nStr );
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:95129:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nextIndex = MAX(idx + 1, nextIndex);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:105694:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:105975:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:106171:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:106172:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:107184:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:107638:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:108515:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:108622:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:108836:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:122482:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pParse->nTab = MAX(pParse->nTab, iTab);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:128881:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:163648:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:163655:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:167717:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
mxBitCol = MIN(BMS-1,pTable->nCol);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:169323:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:169324:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:169332:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:169333:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:169677:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:172391:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:176348:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nArg = MAX(nArg, windowArgCount(pWin));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:245562:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
p->iHeight = MAX(p->iHeight, p->apChild[ii]->iHeight + 1);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:246972:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nMin = MIN(p1->nKey, p2->nKey);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:247956:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN(pLeft->n, pRight->n);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:248338:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nOriginCntr = MAX(nOriginCntr, pSeg->iOrigin2);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:249029:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int iEod = MIN(pIter->iEndofDoclist, pIter->pLeaf->szLeaf);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:249729:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = (u32)MIN(nNew, nTerm-nMatch);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:250734:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:250759:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nChunk = MIN(nRem, pData->szLeaf - 4);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:251103:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nSeg = MIN(pStruct->aLevel[iLevel].nSeg, nSegment);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:251609:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nMin = MIN(pPage->term.n, nTerm);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:252561:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nPrefix = MIN(nPrefix, nPrefix2);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:253002:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pNew->nLevel = MIN(pStruct->nLevel+1, FTS5_MAX_LEVEL);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:253667:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int n1 = MIN(nHalf, pT->nMap-i1);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:253668:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int n2 = MIN(nHalf, pT->nMap-i1-n1);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:255120:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
int nSlotPerPage = MAX(MINSLOT, (p->pConfig->pgsz - 8) / szKey);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:255150:13: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nSlot = MAX(nElem*4, MINSLOT);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15396:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:255668:53: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = fts5Memcmp(&pLeaf->p[iOff], zIdxTerm, MIN(nTerm, nIdxTerm));
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:265142:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:265216:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:15393:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
55 warnings generated.
[6/10] Compiling CSQLiteVec sqlite3.c
[8/14] Compiling SQLiteVec Database.swift
[9/14] Compiling SQLiteVec Core.swift
[10/14] Emitting module SQLiteVec
[11/14] Compiling SQLiteVec Models.swift
[12/16] Compiling SQLiteVecCLI CLI.swift
[13/16] Emitting module SQLiteVecCLI
[13/16] Write Objects.LinkFileList
[14/16] Linking SQLiteVecCLI
[15/16] Applying SQLiteVecCLI
Build complete! (7.06s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SQLiteVec",
"name" : "SQLiteVec",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SQLiteVecCLI",
"targets" : [
"SQLiteVecCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "SQLiteVec",
"targets" : [
"SQLiteVec"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CSQLiteVec",
"targets" : [
"CSQLiteVec"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SQLiteVecTests",
"module_type" : "SwiftTarget",
"name" : "SQLiteVecTests",
"path" : "Tests/SQLiteVecTests",
"sources" : [
"CoreTests.swift",
"DatabaseTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"SQLiteVec"
],
"type" : "test"
},
{
"c99name" : "SQLiteVecCLI",
"module_type" : "SwiftTarget",
"name" : "SQLiteVecCLI",
"path" : "Sources/SQLiteVecCLI",
"product_memberships" : [
"SQLiteVecCLI"
],
"sources" : [
"CLI.swift"
],
"target_dependencies" : [
"SQLiteVec"
],
"type" : "executable"
},
{
"c99name" : "SQLiteVec",
"module_type" : "SwiftTarget",
"name" : "SQLiteVec",
"path" : "Sources/SQLiteVec",
"product_memberships" : [
"SQLiteVecCLI",
"SQLiteVec"
],
"sources" : [
"Core.swift",
"Database.swift",
"Models.swift"
],
"target_dependencies" : [
"CSQLiteVec"
],
"type" : "library"
},
{
"c99name" : "CSQLiteVec",
"module_type" : "ClangTarget",
"name" : "CSQLiteVec",
"path" : "Sources/CSQLiteVec",
"product_memberships" : [
"SQLiteVecCLI",
"SQLiteVec",
"CSQLiteVec"
],
"sources" : [
"extinit.c",
"sqlite-vec.c",
"sqlite3.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.