The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCloudant, reference main (8f44bc), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 13:12:52 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM/swift-cloudant.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/IBM/swift-cloudant
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8f44bce Update README.md
Cloned https://github.com/IBM/swift-cloudant.git
Revision (git rev-parse @):
8f44bce235ae6c0eef72f2d2cde6cb6378964918
SUCCESS checkout https://github.com/IBM/swift-cloudant.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/IBM/swift-cloudant.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/26] Emitting module SwiftCloudant
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Operation.swift:22:14: warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 20 |  An NSOperation subclass for executing `CouchOperations`
 21 |  */
 22 | public class Operation: Foundation.Operation, HTTPRequestOperation
    |              `- warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 23 | {
 24 |
[4/28] Compiling SwiftCloudant CouchClient.swift
[5/28] Compiling SwiftCloudant RequestBuilder.swift
[6/28] Compiling SwiftCloudant RequestExecutor.swift
[7/28] Compiling SwiftCloudant DeleteAttachmentOperation.swift
[8/28] Compiling SwiftCloudant DeleteDocumentOperation.swift
[9/28] Compiling SwiftCloudant GetDocumentOperation.swift
[10/28] Compiling SwiftCloudant DeleteQueryIndexOperation.swift
[11/28] Compiling SwiftCloudant FindDocumentsOperation.swift
[12/28] Compiling SwiftCloudant PutAttachmentOperation.swift
[13/28] Compiling SwiftCloudant PutDocumentOperation.swift
[14/28] Compiling SwiftCloudant ReadAttachmentOperation.swift
[15/28] Compiling SwiftCloudant ViewLikeOperation.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/ViewPaging.swift:503:9: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'completionHandler' to suppress this warning [#TrailingClosureMatching]
501 |                                         stale: stale,
502 |                                         includeLastUpdateSequenceNumber: includeLastUpdateSequenceNumber)
503 |         { (response, httpInfo, error) in
    |         `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'completionHandler' to suppress this warning [#TrailingClosureMatching]
504 |                 if let response = response, let rows = response["rows"] as? [[String: Any]] {
505 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/QueryViewOperation.swift:90:12: note: 'init(name:designDocumentID:databaseName:descending:startKey:startKeyDocumentID:endKey:endKeyDocumentID:inclusiveEnd:key:keys:limit:skip:includeDocs:conflicts:reduce:group:groupLevel:stale:includeLastUpdateSequenceNumber:rowHandler:completionHandler:)' declared here
 88 |
 89 |      */
 90 |     public init(name: String,
    |            `- note: 'init(name:designDocumentID:databaseName:descending:startKey:startKeyDocumentID:endKey:endKeyDocumentID:inclusiveEnd:key:keys:limit:skip:includeDocs:conflicts:reduce:group:groupLevel:stale:includeLastUpdateSequenceNumber:rowHandler:completionHandler:)' declared here
 91 |                 designDocumentID: String,
 92 |                 databaseName:String,
[#TrailingClosureMatching]: <https://docs.swift.org/compiler/documentation/diagnostics/trailing-closure-matching>
[16/28] Compiling SwiftCloudant ViewPaging.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/ViewPaging.swift:503:9: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'completionHandler' to suppress this warning [#TrailingClosureMatching]
501 |                                         stale: stale,
502 |                                         includeLastUpdateSequenceNumber: includeLastUpdateSequenceNumber)
503 |         { (response, httpInfo, error) in
    |         `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'completionHandler' to suppress this warning [#TrailingClosureMatching]
504 |                 if let response = response, let rows = response["rows"] as? [[String: Any]] {
505 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/QueryViewOperation.swift:90:12: note: 'init(name:designDocumentID:databaseName:descending:startKey:startKeyDocumentID:endKey:endKeyDocumentID:inclusiveEnd:key:keys:limit:skip:includeDocs:conflicts:reduce:group:groupLevel:stale:includeLastUpdateSequenceNumber:rowHandler:completionHandler:)' declared here
 88 |
 89 |      */
 90 |     public init(name: String,
    |            `- note: 'init(name:designDocumentID:databaseName:descending:startKey:startKeyDocumentID:endKey:endKeyDocumentID:inclusiveEnd:key:keys:limit:skip:includeDocs:conflicts:reduce:group:groupLevel:stale:includeLastUpdateSequenceNumber:rowHandler:completionHandler:)' declared here
 91 |                 designDocumentID: String,
 92 |                 databaseName:String,
[#TrailingClosureMatching]: <https://docs.swift.org/compiler/documentation/diagnostics/trailing-closure-matching>
[17/28] Compiling SwiftCloudant CouchDatabaseOperation.swift
[18/28] Compiling SwiftCloudant CreateDatabaseOperation.swift
[19/28] Compiling SwiftCloudant Operation.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Operation.swift:22:14: warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 20 |  An NSOperation subclass for executing `CouchOperations`
 21 |  */
 22 | public class Operation: Foundation.Operation, HTTPRequestOperation
    |              `- warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 23 | {
 24 |
[20/28] Compiling SwiftCloudant OperationProtocols.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Operation.swift:22:14: warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 20 |  An NSOperation subclass for executing `CouchOperations`
 21 |  */
 22 | public class Operation: Foundation.Operation, HTTPRequestOperation
    |              `- warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 23 | {
 24 |
[21/28] Compiling SwiftCloudant CreateQueryIndexOperation.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/Operations/Operation.swift:22:14: warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 20 |  An NSOperation subclass for executing `CouchOperations`
 21 |  */
 22 | public class Operation: Foundation.Operation, HTTPRequestOperation
    |              `- warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 23 | {
 24 |
[22/28] Compiling SwiftCloudant DeleteDatabaseOperation.swift
[23/28] Compiling SwiftCloudant GetAllDatabasesOperation.swift
[24/28] Compiling SwiftCloudant GetAllDocsOperation.swift
[25/28] Compiling SwiftCloudant QueryViewOperation.swift
[26/28] Compiling SwiftCloudant URLSession.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:468:9: warning: switch covers known cases, but 'DispatchTimeInterval' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
466 | fileprivate extension DispatchTimeInterval {
467 |     static func *(interval: DispatchTimeInterval, multiple: Int) -> DispatchTimeInterval {
468 |         switch (interval){
    |         |- warning: switch covers known cases, but 'DispatchTimeInterval' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |         `- note: handle unknown values using "@unknown default"
469 |         case .microseconds(let value):
470 |             return .microseconds(value * multiple)
[27/28] Compiling SwiftCloudant GetChangesOperation.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:468:9: warning: switch covers known cases, but 'DispatchTimeInterval' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
466 | fileprivate extension DispatchTimeInterval {
467 |     static func *(interval: DispatchTimeInterval, multiple: Int) -> DispatchTimeInterval {
468 |         switch (interval){
    |         |- warning: switch covers known cases, but 'DispatchTimeInterval' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |         `- note: handle unknown values using "@unknown default"
469 |         case .microseconds(let value):
470 |             return .microseconds(value * multiple)
[28/28] Compiling SwiftCloudant BulkDocs.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:468:9: warning: switch covers known cases, but 'DispatchTimeInterval' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
466 | fileprivate extension DispatchTimeInterval {
467 |     static func *(interval: DispatchTimeInterval, multiple: Int) -> DispatchTimeInterval {
468 |         switch (interval){
    |         |- warning: switch covers known cases, but 'DispatchTimeInterval' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |         `- note: handle unknown values using "@unknown default"
469 |         case .microseconds(let value):
470 |             return .microseconds(value * multiple)
Build complete! (5.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCloudant",
  "name" : "SwiftCloudant",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftCloudant",
      "targets" : [
        "SwiftCloudant"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftCloudantTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCloudantTests",
      "path" : "Tests/SwiftCloudantTests",
      "sources" : [
        "BulkDocsTests.swift",
        "CouchClientTest.swift",
        "CreateDatabaseTests.swift",
        "CreateQueryIndexTests.swift",
        "DeleteAttachmentTests.swift",
        "DeleteDocumentTests.swift",
        "DeleteQueryIndexTests.swift",
        "FindDocumentOperationTests.swift",
        "GetAllDatabasesTests.swift",
        "GetAllDocsTest.swift",
        "GetChangesTests.swift",
        "GetDocumentTests.swift",
        "InterceptableSessionTests.swift",
        "PutAttachmentTests.swift",
        "PutDocumentTests.swift",
        "QueryViewTests.swift",
        "ReadAttachmentTests.swift",
        "TestHelpers.swift",
        "ViewPagingTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCloudant"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCloudant",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCloudant",
      "path" : "Source/SwiftCloudant",
      "product_memberships" : [
        "SwiftCloudant"
      ],
      "sources" : [
        "CouchClient.swift",
        "HTTP/RequestBuilder.swift",
        "HTTP/RequestExecutor.swift",
        "HTTP/URLSession.swift",
        "Operations/Database/GetChangesOperation.swift",
        "Operations/Documents/BulkDocs.swift",
        "Operations/Documents/DeleteAttachmentOperation.swift",
        "Operations/Documents/DeleteDocumentOperation.swift",
        "Operations/Documents/GetDocumentOperation.swift",
        "Operations/Documents/PutAttachmentOperation.swift",
        "Operations/Documents/PutDocumentOperation.swift",
        "Operations/Documents/ReadAttachmentOperation.swift",
        "Operations/Operation.swift",
        "Operations/OperationProtocols.swift",
        "Operations/Query/CreateQueryIndexOperation.swift",
        "Operations/Query/DeleteQueryIndexOperation.swift",
        "Operations/Query/FindDocumentsOperation.swift",
        "Operations/Server/CouchDatabaseOperation.swift",
        "Operations/Server/CreateDatabaseOperation.swift",
        "Operations/Server/DeleteDatabaseOperation.swift",
        "Operations/Server/GetAllDatabasesOperation.swift",
        "Operations/Views/GetAllDocsOperation.swift",
        "Operations/Views/QueryViewOperation.swift",
        "Operations/Views/ViewLikeOperation.swift",
        "Operations/Views/ViewPaging.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.