The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CLMDB, reference main (c42582), with Swift 5.8 for iOS using Xcode 14.3 on 9 Jul 2024 07:05:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme CLMDB -destination generic/platform=iOS

Build Log

========================================
RunAll
========================================
Builder version: 4.45.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-lmdb.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-lmdb
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c425824 Merge pull request #5 from hassila/sync-upstream
Cloned https://github.com/swiftlang/swift-lmdb.git
Revision (git rev-parse @):
c42582487fe84f72a4d417dd2d8493757bd4d072
SUCCESS checkout https://github.com/swiftlang/swift-lmdb.git at main
========================================
Build
========================================
Selected platform:         iOS
Swift version:             5.8
Building package at path:  $workDir
https://github.com/swiftlang/swift-lmdb.git
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  CLMDB: /Users/admin/builder/spi-builder-workspace
resolved source packages: CLMDB
2024-07-09 03:05:19.540 xcodebuild[470:2551] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CLMDB",
  "name" : "CLMDB",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CLMDB",
      "targets" : [
        "CLMDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CLMDB",
      "module_type" : "ClangTarget",
      "name" : "CLMDB",
      "path" : "Sources/CLMDB",
      "product_memberships" : [
        "CLMDB"
      ],
      "sources" : [
        "mdb.c",
        "midl.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "CLMDB"
    ]
  }
}
2024-07-09 03:05:30.259 xcodebuild[531:2911] 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 generic/platform=iOS
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme CLMDB -destination generic/platform=iOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  CLMDB: /Users/admin/builder/spi-builder-workspace
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 6880b74a2050350bb25d7a237e4e86b4
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/6880b74a2050350bb25d7a237e4e86b4.xcbuilddata
note: Building targets in dependency order
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos16.4-20E238-.sdkstatcache
    cd /Users/admin/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos16.4-20E238-.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/CLMDB.modulemap (in target 'CLMDB' from project 'CLMDB')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/CLMDB.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/CLMDB.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/CLMDB.modulemap (in target 'CLMDB' from project 'CLMDB')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/CLMDB.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/CLMDB.LinkFileList (in target 'CLMDB' from project 'CLMDB')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/CLMDB.LinkFileList
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/midl.o /Users/admin/builder/spi-builder-workspace/Sources/CLMDB/midl.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'CLMDB' from project 'CLMDB')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos16.4-20E238-.sdkstatcache -target arm64-apple-ios11.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fmodules -gmodules -fmodules-cache-path\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/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\=CLMDB -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.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/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -I/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/include -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/Developer/Library/Frameworks -DXcode -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/midl.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/midl.dia -c /Users/admin/builder/spi-builder-workspace/Sources/CLMDB/midl.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/midl.o -index-unit-output-path /CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/midl.o
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/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/builder/spi-builder-workspace/Sources/CLMDB/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/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/mdb.o /Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'CLMDB' from project 'CLMDB')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos16.4-20E238-.sdkstatcache -target arm64-apple-ios11.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fmodules -gmodules -fmodules-cache-path\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/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\=CLMDB -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.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/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -I/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/include -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/Developer/Library/Frameworks -DXcode -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/mdb.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/mdb.dia -c /Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/mdb.o -index-unit-output-path /CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/mdb.o
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:2093: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:2335: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:2360: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:2477: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:2578:7: warning: implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
                i = idl[0];
                  ~ ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:2598: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:3256: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:243:
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/midl.h:68:44: note: expanded from macro 'MDB_IDL_SIZEOF'
#define MDB_IDL_SIZEOF(ids)             (((ids)[0]+1) * sizeof(MDB_ID))
                                         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:3257: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:3694: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:3988: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:3992: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4028: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4031:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
                        len = x + src[0].mid;
                            ~ ~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4046: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4190: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4281: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4261:8: note: expanded from macro 'DO_PWRITE'
        len = pwrite(fd, ptr, size, pos);       \
            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4364:25: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
        len = sizeof(MDB_meta) - off;
            ~ ~~~~~~~~~~~~~~~~~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4381: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4401: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4457:2: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32]
        GET_PAGESIZE(e->me_os_psize);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:481:32: note: expanded from macro 'GET_PAGESIZE'
#define GET_PAGESIZE(x) ((x) = sysconf(_SC_PAGE_SIZE))
                             ~ ^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:4719:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        fname->mn_len = strlen(path);
                      ~ ^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:5365: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:5930: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:5933: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:5938: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:5964: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:6723: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:6731: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:6743:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
                j = mop[0] + ovpages;
                  ~ ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:6744: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:7601: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:7814:16: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
                                                offset = EVEN(NODESIZE + sizeof(indx_t) +
                                                       ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:712:30: note: expanded from macro 'EVEN'
#define EVEN(n)         (((n) + 1U) & -2) /* sign-extending -2 to match n+1U */
                         ~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:7858: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:7894: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:1066:64: note: expanded from macro 'OVPAGES'
#define OVPAGES(size, psize)    ((PAGEHDRSZ-1 + (size)) / (psize) + 1)
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:8070: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:8357: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:1066:64: note: expanded from macro 'OVPAGES'
#define OVPAGES(size, psize)    ((PAGEHDRSZ-1 + (size)) / (psize) + 1)
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:8831:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        ksize = EVEN(key->mv_size);
              ~ ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:712:30: note: expanded from macro 'EVEN'
#define EVEN(n)         (((n) + 1U) & -2) /* sign-extending -2 to match n+1U */
                         ~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:8985: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:9776: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:9778: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:10150: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/builder/spi-builder-workspace/Sources/CLMDB/mdb.c:10129:46: note: expanded from macro 'DO_WRITE'
#define DO_WRITE(rc, fd, ptr, w2, len)  len = write(fd, ptr, w2); rc = (len >= 0)
                                            ~ ^~~~~~~~~~~~~~~~~~
41 warnings generated.
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/CLMDB.o normal (in target 'CLMDB' from project 'CLMDB')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios11.0 -r -isysroot /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -L/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F/Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/CLMDB.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/CLMDB_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CLMDB.build/Debug-iphoneos/CLMDB.build/Objects-normal/arm64/CLMDB_dependency_info.dat -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/CLMDB.o
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/CLMDB.o (in target 'CLMDB' from project 'CLMDB')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/CLMDB.o
Resolve Package Graph
** BUILD SUCCEEDED **
2024-07-09 03:05:30.922 xcodebuild[532:2943] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
Build complete.
Done.