Build Information
Successful build of SQLiteVec, reference 0.0.13 (eaa734
), with Swift 5.9 for macOS (SPM) on 27 Nov 2024 22:46:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/SQLiteVec.git
Reference: 0.0.13
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkrukowski/SQLiteVec
* tag 0.0.13 -> FETCH_HEAD
HEAD is now at eaa734a Added FTS5 tests, formatting
Cloned https://github.com/jkrukowski/SQLiteVec.git
Revision (git rev-parse @):
eaa734a8c7615e2ef791c218280292f27d33db39
SUCCESS checkout https://github.com/jkrukowski/SQLiteVec.git at 0.0.13
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/jkrukowski/SQLiteVec.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Compiling CSQLiteVec extinit.c
[1/4] Compiling CSQLiteVec sqlite-vec.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:31923:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:66475:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:72521:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:73229:43: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:76006:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:78475:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nAdd = MIN(nNew,iOld-iNew);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:80330:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nOut, nIn);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:80364:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nOut = MIN(pBt->usableSize - 4, nRem);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:82370:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
const int nCopy = MIN(nSrcPgsz, nDestPgsz);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:82641:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:84128:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:89799:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(mem1.n, pRhs->n);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:89827:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nStr, pRhs->n);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:90035:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN( pPKey2->n, nStr );
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:93219:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nextIndex = MAX(idx + 1, nextIndex);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:103661:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:103942:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:104128:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:104129:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:105127:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:105581:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:106458:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:106565:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:106779:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:120070:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pParse->nTab = MAX(pParse->nTab, iTab);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:126473:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:159042:65: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*MAX(nEq,n));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:160232:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:160239:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:164250:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
mxBitCol = MIN(BMS-1,pTable->nCol);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:165835:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:165836:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:165844:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:165845:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:166189:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:168754:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:172664:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nArg = MAX(nArg, windowArgCount(pWin));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:240639:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
p->iHeight = MAX(p->iHeight, p->apChild[ii]->iHeight + 1);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:242050:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nMin = MIN(p1->nKey, p2->nKey);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:242989:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN(pLeft->n, pRight->n);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:243368:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nOriginCntr = MAX(nOriginCntr, pSeg->iOrigin2);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:244056:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int iEod = MIN(pIter->iEndofDoclist, pIter->pLeaf->szLeaf);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:244754:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = (u32)MIN(nNew, nTerm-nMatch);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:245760:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:245785:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nChunk = MIN(nRem, pData->szLeaf - 4);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:246129:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nSeg = MIN(pStruct->aLevel[iLevel].nSeg, nSegment);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:246635:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nMin = MIN(pPage->term.n, nTerm);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:247579:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nPrefix = MIN(nPrefix, nPrefix2);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:247995:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pNew->nLevel = MIN(pStruct->nLevel+1, FTS5_MAX_LEVEL);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:248511:40: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
assert_nc( memcmp(pToken, pTerm, MIN(nToken, nTerm))<=0 );
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:249759:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
int nSlotPerPage = MAX(MINSLOT, (p->pConfig->pgsz - 8) / szKey);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:249789:13: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nSlot = MAX(nElem*4, MINSLOT);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14972:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:250296:53: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = fts5Memcmp(&pLeaf->p[iOff], zIdxTerm, MIN(nTerm, nIdxTerm));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:259705:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:259779:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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:14969:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
55 warnings generated.
[2/4] Compiling CSQLiteVec sqlite3.c
[4/8] Compiling SQLiteVec Core.swift
[5/8] Compiling SQLiteVec Models.swift
[6/8] Emitting module SQLiteVec
[7/8] Compiling SQLiteVec Database.swift
[8/10] Compiling SQLiteVecCLI CLI.swift
[9/10] Emitting module SQLiteVecCLI
[9/10] Linking SQLiteVecCLI
Build complete! (8.06s)
Build complete.
Done.