Build Information
Successful build of CLMDB with Swift 5.8 for macOS (Xcode) using Xcode 14.3.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme CLMDB -destination platform=macos,arch=arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/agisboye/CLMDB.git
Reference: 0.9.31
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/agisboye/CLMDB
* tag 0.9.31 -> FETCH_HEAD
HEAD is now at 430cddd Bump swift tools version to 5.7
Submodule path 'lmdb': checked out 'ce201088de95d26fc0da36ba805bf2ddc2ba74ff'
Submodule 'lmdb' (https://git.openldap.org/openldap/openldap.git) registered for path 'lmdb'
Cloning into '/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/lmdb'...
Cloned https://github.com/agisboye/CLMDB.git
Revision (git rev-parse @):
430cddd13460c6d134cc0dc24e52482c76ca3352
SUCCESS checkout https://github.com/agisboye/CLMDB.git at 0.9.31
========================================
Build
========================================
Selected platform: macosXcodebuild
Swift version: 5.8
Building package at path: $workDir
https://github.com/agisboye/CLMDB.git
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
CLMDB: /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
resolved source packages: CLMDB
2024-01-29 23:36:35.130 xcodebuild[59852:39715595] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"CLMDB"
]
}
}
2024-01-29 23:36:37.975 xcodebuild[59857:39715667] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme CLMDB -destination platform=macos,arch=arm64
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme CLMDB -destination platform=macos,arch=arm64
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
CLMDB: /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: c0a69f7a095aa206af23f8700a678187
Build description path: /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c0a69f7a095aa206af23f8700a678187.xcbuilddata
note: Building targets in dependency order
CreateBuildDirectory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -o /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache
CreateBuildDirectory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
CreateBuildDirectory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/LMDB.modulemap (in target 'LMDB' from project 'CLMDB')
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
write-file /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/LMDB.modulemap
Copy /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/LMDB.modulemap /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/LMDB.modulemap (in target 'LMDB' from project 'CLMDB')
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/LMDB.modulemap /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
WriteAuxiliaryFile /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/LMDB.LinkFileList (in target 'LMDB' from project 'CLMDB')
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
write-file /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/LMDB.LinkFileList
CompileC /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/midl.o /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/midl.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LMDB' from project 'CLMDB')
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -target arm64-apple-macos10.13 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fmodules -gmodules -fmodules-cache-path\=/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=LMDB -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -DSWIFT_PACKAGE -DDEBUG\=1 -isysroot /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/include -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/DerivedSources-normal/arm64 -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/DerivedSources/arm64 -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/DerivedSources -F/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -DXcode -MMD -MT dependencies -MF /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/midl.d --serialize-diagnostics /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/midl.dia -c /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/midl.c -o /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/midl.o -index-unit-output-path /CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/midl.o
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/midl.c:44:15: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
unsigned n = ids[0];
~ ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/midl.c:176:26: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
if (mdb_midl_grow(idp, app[0]))
~~~~~~~~~~~~~ ^~~~~~
2 warnings generated.
CompileC /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/mdb.o /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LMDB' from project 'CLMDB')
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -target arm64-apple-macos10.13 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fmodules -gmodules -fmodules-cache-path\=/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=LMDB -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -DSWIFT_PACKAGE -DDEBUG\=1 -isysroot /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/include -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/DerivedSources-normal/arm64 -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/DerivedSources/arm64 -I/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/DerivedSources -F/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -DXcode -MMD -MT dependencies -MF /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/mdb.d --serialize-diagnostics /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/mdb.dia -c /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c -o /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/mdb.o -index-unit-output-path /CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/mdb.o
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:824:9: warning: 'P_DIRTY' macro redefined [-Wmacro-redefined]
#define P_DIRTY 0x10 /**< dirty page, also set for #P_SUBP pages */
^
In module 'Darwin' imported from /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:65:
/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/sys/proc.h:210:9: note: previous definition is here
#define P_DIRTY 0x00000008 /* process is dirty */
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:1860:24: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
unsigned i, n = dl[0].mid;
~ ~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:2057:22: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
unsigned int num = sl[0];
~~~ ^~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:2082:15: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
for (i=dl[0].mid; i && need; i--) {
~~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:2193:33: warning: implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
unsigned i, j, mop_len = mop ? mop[0] : 0, n2 = num-1;
~~~~~~~ ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:2287:7: warning: implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
i = idl[0];
~ ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:2307:13: warning: implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
mop_len = mop[0];
~ ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:2922:11: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
size = MDB_IDL_SIZEOF(env->me_pghead);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:194:
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/midl.h:66:44: note: expanded from macro 'MDB_IDL_SIZEOF'
#define MDB_IDL_SIZEOF(ids) (((ids)[0]+1) * sizeof(MDB_ID))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:2923:36: warning: implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
env->me_pghead = mdb_midl_alloc(env->me_pghead[0]);
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3329:29: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int i, pagecount = dl[0].mid, rc;
~~~~~~~~~ ~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3539:52: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
if ((pspill = parent->mt_spill_pgs) && (ps_len = pspill[0])) {
~ ^~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3543:25: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
for (i=0, len=src[0].mid; ++i <= len; ) {
~~~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3579:14: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
x = dst[0].mid;
~ ~~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3582:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
len = x + src[0].mid;
~ ~~^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3597:14: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
y = src[0].mid;
~ ~~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3728:8: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
rc = pread(env->me_fd, &pbuf, Size, off);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3821:2: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DO_PWRITE(rc, env->me_fd, p, psize * NUM_METAS, len, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3799:8: note: expanded from macro 'DO_PWRITE'
len = pwrite(fd, ptr, size, pos); \
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3903:25: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
len = sizeof(MDB_meta) - off;
~ ~~~~~~~~~~~~~~~~~^~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3920:7: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
rc = pwrite(mfd, ptr, len, off);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3940:8: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
r2 = pwrite(env->me_fd, ptr, len, off);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:3992:2: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32]
GET_PAGESIZE(e->me_os_psize);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:397:32: note: expanded from macro 'GET_PAGESIZE'
#define GET_PAGESIZE(x) ((x) = sysconf(_SC_PAGE_SIZE))
~ ^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:4212:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
fname->mn_len = strlen(path);
~ ^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:4824:48: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
env->me_maxreaders = size/sizeof(MDB_reader) + 1;
~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5271:11: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
len = a->mv_size;
~ ~~~^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5274:12: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
len = b->mv_size;
~ ~~~^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5279:41: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return diff ? diff : len_diff<0 ? -1 : len_diff;
~~~~~~ ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5305:27: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return len_diff<0 ? -1 : len_diff;
~~~~~~ ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5753:16: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
x = dl[0].mid--;
~ ~~~~~~~~~^~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5761:9: warning: implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
j = ++(dl[0].mid);
~ ^~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5773:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
j = mop[0] + ovpages;
~ ~~~~~~~^~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:5774:12: warning: implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
for (i = mop[0]; i && mop[i] < pg; i--)
~ ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:6599:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
dcount = data[1].mv_size;
~ ~~~~~~~~^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:6814:16: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
offset = EVEN(NODESIZE + sizeof(indx_t) +
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:611:30: note: expanded from macro 'EVEN'
#define EVEN(n) (((n) + 1U) & -2) /* sign-extending -2 to match n+1U */
~~~~~~~~~~~^~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:6858:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
offset = env->me_psize - olddata.mv_size;
~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:6894:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int level, ovpages, dpages = OVPAGES(data->mv_size, env->me_psize);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:896:64: note: expanded from macro 'OVPAGES'
#define OVPAGES(size, psize) ((PAGEHDRSZ-1 + (size)) / (psize) + 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:7070:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
insert_data = mc->mc_xcursor->mx_db.md_entries - ecount;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:7357:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int ovpages = OVPAGES(data->mv_size, mc->mc_txn->mt_env->me_psize);
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:896:64: note: expanded from macro 'OVPAGES'
#define OVPAGES(size, psize) ((PAGEHDRSZ-1 + (size)) / (psize) + 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:7825:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
ksize = EVEN(key->mv_size);
~ ^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:611:30: note: expanded from macro 'EVEN'
#define EVEN(n) (((n) + 1U) & -2) /* sign-extending -2 to match n+1U */
~~~~~~~~~~~^~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:7979:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
mdb_node_del(csrc, key.mv_size);
~~~~~~~~~~~~ ~~~~^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:8770:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
nsize = mdb_leaf_size(env, newkey, newdata);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:8772:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
nsize = mdb_branch_size(env, newkey);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:9142:4: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
DO_WRITE(rc, my->mc_fd, ptr, wsize, len);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LMDB/mdb.c:9121:46: note: expanded from macro 'DO_WRITE'
#define DO_WRITE(rc, fd, ptr, w2, len) len = write(fd, ptr, w2); rc = (len >= 0)
~ ^~~~~~~~~~~~~~~~~~
42 warnings generated.
Ld /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/LMDB.o normal (in target 'LMDB' from project 'CLMDB')
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-macos10.13 -r -isysroot /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -L/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -L/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug -L/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/LMDB.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/LMDB_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug/LMDB.build/Objects-normal/arm64/LMDB_dependency_info.dat -o /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/LMDB.o
RegisterExecutionPolicyException /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/LMDB.o (in target 'LMDB' from project 'CLMDB')
cd /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Products/Debug/LMDB.o
** BUILD SUCCEEDED **
2024-01-29 23:36:38.826 xcodebuild[59858:39715695] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-F826A02F5534A97C }
Build complete.
Done.