The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of ContainedDocument, reference main (4dabf5), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 09:54:23 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/ChimeHQ/ContainedDocument.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/ContainedDocument
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4dabf59 Turn on concurrency checking, update readme
Cloned https://github.com/ChimeHQ/ContainedDocument.git
Revision (git rev-parse @):
4dabf59905530fa05ea012f516d787e5d84ae59a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ContainedDocument.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChimeHQ/ContainedDocument.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/6] Compiling ContainedDocument ContainedDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContainedDocument/ContainedDocument.swift:15:90: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
 6 |     }
 7 |
 8 |     override open func restoreWindow(withIdentifier identifier: NSUserInterfaceItemIdentifier, state: NSCoder, completionHandler: @escaping (NSWindow?, Error?) -> Void) {
   |                                                                                                                `- note: parameter 'completionHandler' is implicitly non-sendable
 9 |         // this method *must* be used so we can restore the container before the rest of the
10 |         // state restoration machinery in NSDocumentController sets everything up. This
   :
13 |         documentController?.restoreState(with: state, for: self)
14 |
15 |         super.restoreWindow(withIdentifier: identifier, state: state, completionHandler: completionHandler)
   |                                                                                          `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
16 |     }
17 |
[4/6] Compiling ContainedDocument ContainedDocumentController.swift
[5/6] Emitting module ContainedDocument
[6/6] Compiling ContainedDocument BaseDocumentController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContainedDocument/BaseDocumentController.swift:22:13: warning: capture of 'completionHandler' with non-sendable type '(BaseDocumentController.OpenDocumentResult) -> Void' (aka '(Result<(NSDocument, Bool), any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
20 |             let result = OpenDocumentResult(doc, alreadyOpen, error)
21 |
22 |             completionHandler(result)
   |             |- warning: capture of 'completionHandler' with non-sendable type '(BaseDocumentController.OpenDocumentResult) -> Void' (aka '(Result<(NSDocument, Bool), any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ContainedDocument/BaseDocumentController.swift:43:13: warning: capture of 'completionHandler' with non-sendable type '(BaseDocumentController.OpenDocumentResult) -> Void' (aka '(Result<(NSDocument, Bool), any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
41 |             let result = OpenDocumentResult(doc, alreadyOpen, error)
42 |
43 |             completionHandler(result)
   |             |- warning: capture of 'completionHandler' with non-sendable type '(BaseDocumentController.OpenDocumentResult) -> Void' (aka '(Result<(NSDocument, Bool), any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 |         }
45 |     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete! (7.36s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ContainedDocument",
  "name" : "ContainedDocument",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "ContainedDocument",
      "targets" : [
        "ContainedDocument"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ContainedDocumentTests",
      "module_type" : "SwiftTarget",
      "name" : "ContainedDocumentTests",
      "path" : "Tests/ContainedDocumentTests",
      "sources" : [
        "ContainedDocumentTests.swift"
      ],
      "target_dependencies" : [
        "ContainedDocument"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ContainedDocument",
      "module_type" : "SwiftTarget",
      "name" : "ContainedDocument",
      "path" : "Sources/ContainedDocument",
      "product_memberships" : [
        "ContainedDocument"
      ],
      "sources" : [
        "BaseDocumentController.swift",
        "ContainedDocument.swift",
        "ContainedDocumentController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.