Build Information
Successful build of SQLiteVec, reference main (0c691f
), with Swift 6.0 for macOS (SPM) on 23 Sep 2024 18:12:31 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
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 0c691f7 Updated sqlite-vec to 0.1.2
Cloned https://github.com/jkrukowski/SQLiteVec.git
Revision (git rev-parse @):
0c691f7d72517a6d01cc437f41d32117fb43a719
SUCCESS checkout https://github.com/jkrukowski/SQLiteVec.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jkrukowski/SQLiteVec.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[2/10] Write SQLiteVecCLI-entitlement.plist
[3/10] Write swift-version--4A847ED0836F2485.txt
[4/10] Compiling CSQLiteVec extinit.c
[5/10] Compiling CSQLiteVec sqlite-vec.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:31418:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
31418 | szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:66050:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
66050 | u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:72034:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
72034 | rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:72742:43: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
72742 | char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:75491:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
75491 | amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:77951:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
77951 | int nAdd = MIN(nNew,iOld-iNew);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:79802:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
79802 | int nCopy = MIN(nOut, nIn);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:79836:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
79836 | nOut = MIN(pBt->usableSize - 4, nRem);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:81832:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
81832 | const int nCopy = MIN(nSrcPgsz, nDestPgsz);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:82103:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
82103 | iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:83583:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
83583 | if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:89222:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
89222 | int nCmp = MIN(mem1.n, pRhs->n);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:89250:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
89250 | int nCmp = MIN(nStr, pRhs->n);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:89458:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
89458 | nCmp = MIN( pPKey2->n, nStr );
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:92592:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
92592 | nextIndex = MAX(idx + 1, nextIndex);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:102858:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
102858 | sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:103138:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
103138 | res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:103324:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
103324 | mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:103325:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
103325 | pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:104323:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
104323 | pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:104777:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
104777 | nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:105654:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
105654 | int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:105761:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
105761 | int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:105975:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
105975 | return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:118897:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
118897 | pParse->nTab = MAX(pParse->nTab, iTab);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:125282:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
125282 | int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:156986:67: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
156986 | aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*MAX(nEq,n));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:158108:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
158108 | nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:158115:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
158115 | nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:161978:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
161978 | mxBitCol = MIN(BMS-1,pTable->nCol);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:163510:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
163510 | pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:163511:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
163511 | pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:163519:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
163519 | pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:163520:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
163520 | pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:163864:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
163864 | nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:166200:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
166200 | aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
215 | #define MIN(a, b) (((a)<(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14761:10: note: other definition of 'MIN'
14761 | # define MIN(A,B) ((A)<(B)?(A):(B))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:170024:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
170024 | nArg = MAX(nArg, windowArgCount(pWin));
| ^
/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
218 | #define MAX(a, b) (((a)>(b))?(a):(b))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLiteVec/sqlite3.c:14764:10: note: other definition of 'MAX'
14764 | # define MAX(A,B) ((A)>(B)?(A):(B))
| ^
37 warnings generated.
[6/10] Compiling CSQLiteVec sqlite3.c
[8/14] Compiling SQLiteVec Models.swift
[9/14] Emitting module SQLiteVec
[10/14] Compiling SQLiteVec Core.swift
[11/14] Compiling SQLiteVec Database.swift
[12/16] Emitting module SQLiteVecCLI
[13/16] Compiling SQLiteVecCLI CLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SQLiteVecCLI/CLI.swift:27:35: warning: non-sendable type '[[String : Any]]' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
25 | )
26 | }
27 | let result = try await db.query(
| `- warning: non-sendable type '[[String : Any]]' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
28 | """
29 | SELECT rowid, distance
/Users/admin/builder/spi-builder-workspace/Sources/SQLiteVecCLI/CLI.swift:17:22: warning: sending 'self'-isolated value of type '[Any]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
15 | let query: [Float] = [0.3, 0.3, 0.3, 0.3]
16 | let db = try Database(.inMemory)
17 | try await db.execute("CREATE VIRTUAL TABLE vec_items USING vec0(embedding float[4])")
| `- warning: sending 'self'-isolated value of type '[Any]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
18 | for row in data {
19 | try await db.execute(
[13/16] Write Objects.LinkFileList
[14/16] Linking SQLiteVecCLI
[15/16] Applying SQLiteVecCLI
Build complete! (10.52s)
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.