The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mongo-swift-driver, reference v1.3.1 (cd8618), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 08:58:27 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mongodb/mongo-swift-driver.git
Reference: v1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mongodb/mongo-swift-driver
 * tag               v1.3.1     -> FETCH_HEAD
HEAD is now at cd8618a 1.3.1
Cloned https://github.com/mongodb/mongo-swift-driver.git
Revision (git rev-parse @):
cd8618a10f89b72bad6edb1066a8fb60df57811b
SUCCESS checkout https://github.com/mongodb/mongo-swift-driver.git at v1.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mongodb/mongo-swift-driver.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1072]
[Planning deferred tasks]
[Starting]
[195 / 678] swift-nio_NIOPosix
[197 / 678]
[210 / 686] NimbleCwlCatchException
[217 / 705] CNIOWindows
[226 / 737] CNIOLinux
[239 / 771]
[248 / 797]
[268 / 797]
[289 / 823]
[308 / 827]
[317 / 827] ExtrasBase64
[328 / 827]
[329 / 827] _AtomicsShims
[335 / 858]
[345 / 858] _NIOBase64
[355 / 858] NIOConcurrencyHelpers
[362 / 858] CNIOPosix
[367 / 858] _NIODataStructures
[372 / 858] _NIODataStructures
[391 / 858] NIOConcurrencyHelpers
[400 / 858] NIOConcurrencyHelpers-product
[408 / 858]
[420 / 858]
[426 / 858] ExtrasBase64
[434 / 858]
[443 / 860]
[465 / 873] CLibMongoC
[479 / 882] CLibMongoC
[504 / 882] CLibMongoC
[527 / 883] CLibMongoC
[553 / 883] CLibMongoC
[583 / 884]
[606 / 884] CLibMongoC
[613 / 884] CLibMongoC
[622 / 884] NimbleCwlCatchExceptionSupport
[634 / 884] CLibMongoC
[650 / 884] CLibMongoC
[660 / 884] CLibMongoC
[669 / 884] CLibMongoC
[677 / 884] CLibMongoC
[689 / 884] CLibMongoC
[696 / 884] CLibMongoC
[706 / 884] NimbleCwlPreconditionTesting
[729 / 884] CLibMongoC
[745 / 884] CLibMongoC
[758 / 884] Atomics
[763 / 884] CLibMongoC
[770 / 884] InternalCollectionsUtilities
[779 / 890] NimbleCwlPreconditionTesting
[787 / 901] NimbleCwlPreconditionTesting
[797 / 901] ContainersPreview
[812 / 903] NimbleCwlPreconditionTesting
[820 / 914] DequeModule
[822 / 914] DequeModule
[823 / 914] DequeModule
[823 / 914] Nimble
[833 / 957]
[838 / 957]
[843 / 957] DequeModule
[854 / 958]
[855 / 958]
[857 / 958] NIOCore
[863 / 975]
[865 / 975]
[876 / 975] CNIOAtomics
[878 / 975] NIOCore
[881 / 975] NIOCore
[882 / 975]
[883 / 975] NIOCore
[890 / 975] Nimble
[899 / 975] Nimble
[900 / 975] Nimble
[900 / 975] NIOCore
[902 / 975] Nimble
[902 / 975] NIOCore
[912 / 977] NIOEmbedded
[916 / 981] NIOPosix
[933 / 1010] NIOEmbedded
[937 / 1010]
[939 / 1010]
[941 / 1010]
[942 / 1010]
[953 / 1010] NIOPosix
[960 / 1011] NIOPosix
[960 / 1011] NIO
[968 / 1013]
[970 / 1014] SwiftBSON
[986 / 1031] SwiftBSON
[987 / 1031] SwiftBSON
[994 / 1032] SwiftBSON
[994 / 1032] MongoSwift
[995 / 1044]
[1004 / 1044] MongoSwift
[1005 / 1044] SwiftBSON
[1012 / 1044] MongoSwift
[1017 / 1046]
[1019 / 1046] MongoSwift
[1019 / 1046] MongoSwiftSync
[1026 / 1057] MongoSwiftSync
[1030 / 1057] MongoSwiftSync
[1043 / 1065] TestsCommon
[1047 / 1065] MongoSwiftSync
[1047 / 1065] TestsCommon
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/Quick/Nimble.git
[1/1875] Fetching swift-atomics
[20/5266] Fetching swift-atomics, swift-bson
[994/25252] Fetching swift-atomics, swift-bson, nimble
Fetched https://github.com/mongodb/swift-bson (1.33s)
Fetched https://github.com/apple/swift-atomics (1.33s)
[800/19986] Fetching nimble
[801/106008] Fetching nimble, swift-nio
Fetched https://github.com/Quick/Nimble.git (2.24s)
[25807/86022] Fetching swift-nio
Fetched https://github.com/apple/swift-nio (6.39s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (7.11s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/1094] Fetching swift-extras-json
[12/2048] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-json (1.07s)
Fetched https://github.com/swift-extras/swift-extras-base64 (1.07s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (1.76s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.66s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (0.57s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.66s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (0.70s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/6898] Fetching swift-system
[829/34177] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git (3.33s)
Fetched https://github.com/apple/swift-system.git (3.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (4.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.59s)
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-scanner.c:286:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  286 |             keylen = bson_uint32_to_string (count++, &key, buf, sizeof buf);
      |                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology.c:248:22: warning: implicit conversion loses integer precision: 'const int64_t' (aka 'const long long') to 'int' [-Wshorten-64-to-32]
  248 |    timeout = td.ptr->session_timeout_minutes;
      |            ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology.c:374:45: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  373 |    heartbeat = mongoc_uri_get_option_as_int32 (
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  374 |       uri, MONGOC_URI_HEARTBEATFREQUENCYMS, heartbeat_default);
      |                                             ^~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-background-monitoring.c:319:48: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  319 |    n_srv_monitors = topology->server_monitors->items_len;
      |                   ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-background-monitoring.c:320:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  320 |    n_rtt_monitors = topology->rtt_monitors->items_len;
      |                   ~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-description.c:2500:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
 2499 |       const mongoc_host_list_t *const *hl_array = _mongoc_apply_srv_max_hosts (
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2500 |          host_list, host_list_length, &hl_array_size);
      |                     ^~~~~~~~~~~~~~~~
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-set.c:91:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
   91 |       i = ptr - set->items;
      |         ~ ~~~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-set.c:201:16: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  201 |       if (!cb (i, old_set[i].item, ctx)) {
      |            ~~  ^
2 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-socket.c:348:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'nfds_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  348 |    ret = poll (pfds, nsds, timeout);
      |          ~~~~        ^~~~
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:234:54: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  234 |    rpc.header.request_id = server_monitor->request_id++;
      |                          ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:248:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  248 |    niovec = array_to_write.len;
      |           ~ ~~~~~~~~~~~~~~~^~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:254:53: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  251 |    if (!_mongoc_stream_writev_full (server_monitor->stream,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  252 |                                     iovec,
  253 |                                     niovec,
  254 |                                     server_monitor->connect_timeout_ms,
      |                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:262:60: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  259 |    if (!_mongoc_buffer_append_from_stream (&buffer,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  260 |                                            server_monitor->stream,
  261 |                                            4,
  262 |                                            server_monitor->connect_timeout_ms,
      |                                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:273:60: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  270 |    if (!_mongoc_buffer_append_from_stream (&buffer,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  271 |                                            server_monitor->stream,
  272 |                                            reply_len - buffer.len,
  273 |                                            server_monitor->connect_timeout_ms,
      |                                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:343:54: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  343 |    rpc.header.request_id = server_monitor->request_id++;
      |                          ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:355:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  355 |    niovec = array_to_write.len;
      |           ~ ~~~~~~~~~~~~~~~^~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:365:53: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  362 |    if (!_mongoc_stream_writev_full (server_monitor->stream,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  363 |                                     iovec,
  364 |                                     niovec,
  365 |                                     server_monitor->connect_timeout_ms,
      |                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:543:57: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  542 |    if (!_mongoc_buffer_append_from_stream (
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  543 |           &buffer, server_monitor->stream, msg_len - 4, timeout_ms, error)) {
      |                                                         ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-server-monitor.c:609:51: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  608 |    bson_append_int32 (
      |    ~~~~~~~~~~~~~~~~~
  609 |       &cmd, "maxAwaitTimeMS", 14, server_monitor->heartbeat_frequency_ms);
      |                                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
10 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-opts-helpers.c:71:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
   70 |    bson_append_timestamp (
      |    ~~~~~~~~~~~~~~~~~~~~~
   71 |       bson, key, strlen (key), timestamp->timestamp, timestamp->increment);
      |                  ^~~~~~~~~~~~
1 warning generated.
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-rpc.c:392:
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/op-msg.def:8:3: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    1 | RPC(
      | ~~~~
    2 |   msg,
      |   ~~~~
    3 |   INT32_FIELD(msg_len)
      |   ~~~~~~~~~~~~~~~~~~~~
    4 |   INT32_FIELD(request_id)
      |   ~~~~~~~~~~~~~~~~~~~~~~~
    5 |   INT32_FIELD(response_to)
      |   ~~~~~~~~~~~~~~~~~~~~~~~~
    6 |   INT32_FIELD(opcode)
      |   ~~~~~~~~~~~~~~~~~~~
    7 |   ENUM_FIELD(flags)
      |   ~~~~~~~~~~~~~~~~~
    8 |   SECTION_ARRAY_FIELD(sections)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    9 | )
      | ~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-rpc.c:347:25: note: expanded from macro 'SECTION_ARRAY_FIELD'
  345 |             int max = rpc->_name[_i].payload.sequence.size -                \
      |                 ~~~
  346 |                       strlen (rpc->_name[_i].payload.sequence.identifier) - \
  347 |                       1 - sizeof (int32_t);                                 \
      |                         ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-rpc.c:276:7: note: expanded from macro 'RPC'
  276 |       _code                                                             \
      |       ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-rpc.c:852:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  852 |    size = _mongoc_cluster_buffer_iovec (
      |         ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  853 |       cluster->iov.data, cluster->iov.len, 16, data);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-rpc.c:887:51: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  887 |       rpc_le->compressed.compressed_message_len = output_length;
      |                                                 ~ ^~~~~~~~~~~~~
3 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-http.c:194:27: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  194 |    res->headers_len = ptr - http_response_str;
      |                     ~ ~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-http.c:197:48: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  196 |    res->body_len =
      |                  ~
  197 |       http_response_buf.len - res->headers_len - strlen (header_delimiter);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-gridfs-file.c:607:68: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  606 |       file->pos += _mongoc_gridfs_file_page_memset0 (file->page,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  607 |                                                      target_length - file->pos);
      |                                                      ~~~~~~~~~~~~~~^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-gridfs-file.c:986:24: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  986 |    file->n = file->pos / file->chunk_size;
      |            ~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-cluster.c:172:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  172 |          difference = skip - (total_iov_len - iov[n].iov_len);
      |                     ~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-cluster.c:3409:79: warning: implicit conversion loses integer precision: 'unsigned long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
 3408 |       section[1].payload.sequence.size = cmd->payload_size +
      |                                        ~ ~~~~~~~~~~~~~~~~~~~
 3409 |                                          strlen (cmd->payload_identifier) + 1 +
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 3410 |                                          sizeof (int32_t);
      |                                          ~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/bson/bson-json.c:1191:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 1190 |          STACK_PUSH_DOC (bson_append_document_begin (
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~
 1191 |             STACK_BSON_PARENT, key, len, STACK_BSON_CHILD));
      |                                     ^~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/bson/bson-json.c:312:10: note: expanded from macro 'STACK_PUSH_DOC'
  312 |          statement;                     \
      |          ^~~~~~~~~
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/bson/bson-iter.c:114:16: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  114 |    iter->len = length;
      |              ~ ^~~~~~
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:121:46: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  121 |                timeout_msec = (expire - now) / 1000L;
      |                             ~ ~~~~~~~~~~~~~~~^~~~~~~
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:53:4: warning: 'SSLClose' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
   53 |    SSLClose (secure_transport->ssl_ctx_ref);
      |    ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1731:1: note: 'SSLClose' has been explicitly marked deprecated here
 1731 | SSLClose                                        (SSLContextRef          context)
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:129:13: warning: 'SSLWrite' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  129 |    status = SSLWrite (
      |             ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1670:1: note: 'SSLWrite' has been explicitly marked deprecated here
 1670 | SSLWrite                                        (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:154:45: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  154 |          tls->timeout_msec = (expire - now) / 1000L;
      |                            ~ ~~~~~~~~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:334:28: warning: 'SSLRead' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  334 |          OSStatus status = SSLRead (secure_transport->ssl_ctx_ref,
      |                            ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1689:1: note: 'SSLRead' has been explicitly marked deprecated here
 1689 | SSLRead                                         (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:355:51: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  355 |                tls->timeout_msec = (expire - now) / 1000L;
      |                                  ~ ~~~~~~~~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:471:14: warning: 'SecTrustCopyProperties' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
  471 |    cfprops = SecTrustCopyProperties (trust);
      |              ^~~~~~~~~~~~~~~~~~~~~~
      |              SecTrustEvaluateWithError
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:602:12: note: 'SecTrustCopyProperties' has been explicitly marked deprecated here
  602 | CFArrayRef SecTrustCopyProperties(SecTrustRef trust)
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:535:13: warning: 'SSLCopyPeerTrust' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  535 |    status = SSLCopyPeerTrust (secure_transport->ssl_ctx_ref, &trust);
      |             ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1261:1: note: 'SSLCopyPeerTrust' has been explicitly marked deprecated here
 1261 | SSLCopyPeerTrust                        (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:570:13: warning: 'SecTrustEvaluate' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
  570 |    status = SecTrustEvaluate (trust, &trust_result);
      |             ^~~~~~~~~~~~~~~~
      |             SecTrustEvaluateWithError
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:377:10: note: 'SecTrustEvaluate' has been explicitly marked deprecated here
  377 | OSStatus SecTrustEvaluate(SecTrustRef trust, SecTrustResultType *result)
      |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:612:10: warning: 'SSLHandshake' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  612 |    ret = SSLHandshake (secure_transport->ssl_ctx_ref);
      |          ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1641:1: note: 'SSLHandshake' has been explicitly marked deprecated here
 1641 | SSLHandshake                            (SSLContextRef          context)
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:705:7: warning: 'SSLCreateContext' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  705 |       SSLCreateContext (kCFAllocatorDefault,
      |       ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:316:1: note: 'SSLCreateContext' has been explicitly marked deprecated here
  316 | SSLCreateContext(CFAllocatorRef __nullable alloc, SSLProtocolSide protocolSide, SSLConnectionType connectionType)
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:706:34: warning: 'kSSLClientSide' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
  706 |                         client ? kSSLClientSide : kSSLServerSide,
      |                                  ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:218:5: note: 'kSSLClientSide' has been explicitly marked deprecated here
  218 |     kSSLClientSide CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0)
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:706:51: warning: 'kSSLServerSide' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
  706 |                         client ? kSSLClientSide : kSSLServerSide,
      |                                                   ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:217:5: note: 'kSSLServerSide' has been explicitly marked deprecated here
  217 |     kSSLServerSide CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0),
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:707:25: warning: 'kSSLStreamType' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
  707 |                         kSSLStreamType);
      |                         ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:223:5: note: 'kSSLStreamType' has been explicitly marked deprecated here
  223 |     kSSLStreamType CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0),
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:709:4: warning: 'SSLSetIOFuncs' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  709 |    SSLSetIOFuncs (secure_transport->ssl_ctx_ref,
      |    ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:418:1: note: 'SSLSetIOFuncs' has been explicitly marked deprecated here
  418 | SSLSetIOFuncs                           (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:712:4: warning: 'SSLSetProtocolVersionMin' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  712 |    SSLSetProtocolVersionMin (secure_transport->ssl_ctx_ref, kTLSProtocol1);
      |    ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:458:1: note: 'SSLSetProtocolVersionMin' has been explicitly marked deprecated here
  458 | SSLSetProtocolVersionMin  (SSLContextRef      context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:712:61: warning: 'kTLSProtocol1' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
  712 |    SSLSetProtocolVersionMin (secure_transport->ssl_ctx_ref, kTLSProtocol1);
      |                                                             ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:160:5: note: 'kTLSProtocol1' has been explicitly marked deprecated here
  160 |     kTLSProtocol1 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 4,
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:732:7: warning: 'SSLSetSessionOption' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  732 |       SSLSetSessionOption (secure_transport->ssl_ctx_ref,
      |       ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:384:1: note: 'SSLSetSessionOption' has been explicitly marked deprecated here
  384 | SSLSetSessionOption                     (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:733:28: warning: 'kSSLSessionOptionBreakOnServerAuth' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
  733 |                            kSSLSessionOptionBreakOnServerAuth,
      |                            ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:99:2: note: 'kSSLSessionOptionBreakOnServerAuth' has been explicitly marked deprecated here
   99 |         kSSLSessionOptionBreakOnServerAuth CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0) = 0,
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:737:7: warning: 'SSLSetClientSideAuthenticate' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  737 |       SSLSetClientSideAuthenticate (secure_transport->ssl_ctx_ref,
      |       ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1410:1: note: 'SSLSetClientSideAuthenticate' has been explicitly marked deprecated here
 1410 | SSLSetClientSideAuthenticate    (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:742:7: warning: 'SSLSetPeerDomainName' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  742 |       SSLSetPeerDomainName (secure_transport->ssl_ctx_ref, host, strlen (host));
      |       ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:686:1: note: 'SSLSetPeerDomainName' has been explicitly marked deprecated here
  686 | SSLSetPeerDomainName            (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:744:4: warning: 'SSLSetConnection' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  744 |    SSLSetConnection (secure_transport->ssl_ctx_ref, tls);
      |    ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport.c:21:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:657:1: note: 'SSLSetConnection' has been explicitly marked deprecated here
  657 | SSLSetConnection                        (SSLContextRef                  context,
      | ^
21 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-secure-transport.c:259:14: warning: 'SecTransformExecute' is deprecated: first deprecated in macOS 12.0 - SecTransform is no longer supported [-Wdeprecated-declarations]
  259 |    dataref = SecTransformExecute (sec_transform, &error);
      |              ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport-private.h:25:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransform.h:570:11: note: 'SecTransformExecute' has been explicitly marked deprecated here
  570 | CFTypeRef SecTransformExecute(SecTransformRef transformRef, CFErrorRef* errorRef) 
      |           ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-secure-transport.c:393:15: warning: 'SSLSetCertificate' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  393 |    success = !SSLSetCertificate (secure_transport->ssl_ctx_ref,
      |               ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport-private.h:25:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:637:1: note: 'SSLSetCertificate' has been explicitly marked deprecated here
  637 | SSLSetCertificate                       (SSLContextRef          context,
      | ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-secure-transport.c:445:15: warning: 'SSLSetTrustedRoots' is deprecated: first deprecated in macOS 10.9 - No longer supported. Use Network.framework. [-Wdeprecated-declarations]
  445 |    success = !SSLSetTrustedRoots (
      |               ^
In module 'Security' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-secure-transport-private.h:25:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1180:1: note: 'SSLSetTrustedRoots' has been explicitly marked deprecated here
 1180 | SSLSetTrustedRoots                      (SSLContextRef          context,
      | ^
3 warnings generated.
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-config.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-config.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-libressl.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-libressl.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-b64-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-b64-private.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-macros-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-macros-private.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-channel.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-channel.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-openssl.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-openssl.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-thread-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-thread-private.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-md5-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-md5-private.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-prelude.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-prelude.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
10 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-transport.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
  | `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-transport.h'
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
SwiftBSON.BSONDocument:1:36: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 1 | @dynamicMemberLookup public struct BSONDocument {
   |                                    `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 2 |     public typealias KeyValuePair = (key: String, value: SwiftBSON.BSON)
 3 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:297:9: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
295 |         let el = self.eventLoop
296 |         let wrappedCursor = self.wrappedCursor
297 |         Task {
    |         |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |         `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
298 |             try await client.operationExecutor.execute(on: el) {
299 |                 wrappedCursor.kill()
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoClient+AsyncAwait.swift:238:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
236 |             session: session,
237 |             withEventType: EventType.self
238 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
239 |     }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+AsyncAwait.swift:46:81: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
44 |         session: ClientSession? = nil
45 |     ) async throws -> MongoCollection {
46 |         try await self.renamed(to: newName, options: options, session: session).get()
   |                                                                                 `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
47 |     }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:37:11: warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 35 |             options: options,
 36 |             session: session
 37 |         ).get()
    |           `- warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 38 |     }
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:109:107: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
107 |         withEventType _: EventType.Type
108 |     ) async throws -> ChangeStream<EventType> {
109 |         try await self.watch(pipeline, options: options, session: session, withEventType: EventType.self).get()
    |                                                                                                           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
110 |     }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:16:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 14 |         self.events = []
 15 |         self.monitoring = false
 16 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                     `- note: use 'NIOLock' instead
 17 |     }
 18 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:27:1: warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 25 | }
 26 |
 27 | extension MongoDatabaseOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 28 |     internal typealias CodingKeysType = CodingKeys
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:45:1: warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 43 | }
 44 |
 45 | extension MongoCollectionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 46 |     internal typealias CodingKeysType = CodingKeys
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:63:1: warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 61 | }
 62 |
 63 | extension ClientSessionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     internal typealias CodingKeysType = CodingKeys
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:88:1: warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 86 | }
 87 |
 88 | extension TransactionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 89 |     internal typealias CodingKeysType = CodingKeys
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:112:1: warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
110 | }
111 |
112 | extension MongoClientOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
113 |     internal typealias CodingKeysType = CodingKeys
114 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:144:1: warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
142 | }
143 |
144 | extension ReadPreference: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |     internal typealias CodingKeysType = CodingKeys
146 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:171:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
169 | }
170 |
171 | extension ReadPreference.Mode: Decodable {
    | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
172 |     public init(from decoder: Decoder) throws {
173 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:187:1: warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
185 | }
186 |
187 | extension TopologyDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
188 |     internal typealias CodingKeysType = CodingKeys
189 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:205:1: warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
203 | }
204 |
205 | extension ServerDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
206 |     internal typealias CodingKeysType = CodingKeys
207 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:445:53: error: 'Predicate' is ambiguous for type lookup in this context
443 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
444 | // them with the "clean" function
445 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
446 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
447 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
Nimble.Predicate:1:15: note: found this candidate
1 | public struct Predicate<T> {
  |               `- note: found this candidate
2 |     public init(_ matcher: @escaping (Nimble.Expression<T>) throws -> Nimble.PredicateResult)
3 |     public func satisfies(_ expression: Nimble.Expression<T>) throws -> Nimble.PredicateResult
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:464:69: error: 'Predicate' is ambiguous for type lookup in this context
462 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
463 | // have the same key/value pairs in them
464 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
465 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
466 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
Nimble.Predicate:1:15: note: found this candidate
1 | public struct Predicate<T> {
  |               `- note: found this candidate
2 |     public init(_ matcher: @escaping (Nimble.Expression<T>) throws -> Nimble.PredicateResult)
3 |     public func satisfies(_ expression: Nimble.Expression<T>) throws -> Nimble.PredicateResult
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:556:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
554 |
555 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
556 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
557 |     public init(from decoder: Decoder) throws {
558 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift /Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift /Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/SpecTestUtils.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/NimbleCwlCatchExceptionSupport.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/NimbleCwlMachBadInstructionHandler.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CLibMongoC.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/CLibMongoC/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TestsCommon -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mongo-swift-driver.build/Debug/TestsCommon-t.build/Objects-normal/arm64/TestsCommon.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm