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 Papyrus, reference v0.13.2 (7be0a6), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 17:40: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/reddavis/Papyrus.git
Reference: v0.13.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/reddavis/Papyrus
 * tag               v0.13.2    -> FETCH_HEAD
HEAD is now at 7be0a60 fix: return if collection is empty (#11)
Cloned https://github.com/reddavis/Papyrus.git
Revision (git rev-parse @):
7be0a607093dd24879cf56a23c87d60f8e770f0f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/reddavis/Papyrus.git at v0.13.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/reddavis/Papyrus.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/13] Emitting module Papyrus
[4/14] Compiling Papyrus ObjectQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Queries/ObjectQuery.swift:48:39: warning: capture of non-sendable type 'T.Type' in an isolated closure
 46 |             return observer.observe()
 47 |                 .compactMap { _ in
 48 |                     let result = self.fetchObject()
    |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 49 |                     defer { previousResult = result }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Queries/ObjectQuery.swift:42:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
 40 |     /// Observe changes to the query via an async stream.
 41 |     /// - Returns: A `AsyncThrowingStream` instance.
 42 |     public func observe() -> AsyncThrowingStream<ObjectChange<T>, Error> {
    |                 `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 43 |         var previousResult = self.fetchObject()
 44 |         do {
[5/14] Compiling Papyrus AsyncSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncStream.swift:6:25: warning: capture of non-sendable type 'S.AsyncIterator.Type' in an isolated closure
 4 |         var iterator: S.AsyncIterator?
 5 |         self.init {
 6 |             if iterator == nil {
   |                         `- warning: capture of non-sendable type 'S.AsyncIterator.Type' in an isolated closure
 7 |                 iterator = sequence.makeAsyncIterator()
 8 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncStream.swift:4:13: warning: capture of non-sendable type 'S.Type' in an isolated closure
 2 | extension AsyncStream {
 3 |     init<S: AsyncSequence>(_ sequence: S) where S.Element == Element {
 4 |         var iterator: S.AsyncIterator?
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 5 |         self.init {
 6 |             if iterator == nil {
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncStream.swift:7:28: warning: capture of non-sendable type 'S.Type' in an isolated closure
 5 |         self.init {
 6 |             if iterator == nil {
 7 |                 iterator = sequence.makeAsyncIterator()
   |                            `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 8 |             }
 9 |             return try? await iterator?.next()
[6/14] Compiling Papyrus AsyncStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncStream.swift:6:25: warning: capture of non-sendable type 'S.AsyncIterator.Type' in an isolated closure
 4 |         var iterator: S.AsyncIterator?
 5 |         self.init {
 6 |             if iterator == nil {
   |                         `- warning: capture of non-sendable type 'S.AsyncIterator.Type' in an isolated closure
 7 |                 iterator = sequence.makeAsyncIterator()
 8 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncStream.swift:4:13: warning: capture of non-sendable type 'S.Type' in an isolated closure
 2 | extension AsyncStream {
 3 |     init<S: AsyncSequence>(_ sequence: S) where S.Element == Element {
 4 |         var iterator: S.AsyncIterator?
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 5 |         self.init {
 6 |             if iterator == nil {
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncStream.swift:7:28: warning: capture of non-sendable type 'S.Type' in an isolated closure
 5 |         self.init {
 6 |             if iterator == nil {
 7 |                 iterator = sequence.makeAsyncIterator()
   |                            `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 8 |             }
 9 |             return try? await iterator?.next()
[7/14] Compiling Papyrus Papyrus.swift
[8/14] Compiling Papyrus Logger.swift
[9/14] Compiling Papyrus CollectionQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Queries/CollectionQuery.swift:60:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
 58 |             let observer = try DirectoryObserver(url: self.directoryURL)
 59 |             return observer.observe()
 60 |                 .map { _ in self.fetchObjects() }
    |                                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 61 |                 .eraseToThrowingStream()
 62 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Queries/CollectionQuery.swift:56:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
 54 |     /// Observe changes to the query.
 55 |     /// - Returns: A `AsyncThrowingStream` instance.
 56 |     public func observe() -> AsyncThrowingStream<[T], Error> {
    |                 `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 57 |         do {
 58 |             let observer = try DirectoryObserver(url: self.directoryURL)
[10/14] Compiling Papyrus PapyrusStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/PapyrusStore.swift:237:30: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
235 |             for object in objects {
236 |                 group.addTask {
237 |                     try self.delete(id: object.id, of: T.self, touchDirectory: false)
    |                              `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 |                 }
239 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/PapyrusStore.swift:235:17: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
233 |
234 |         try await withThrowingTaskGroup(of: Void.self) { group in
235 |             for object in objects {
    |                 `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
236 |                 group.addTask {
237 |                     try self.delete(id: object.id, of: T.self, touchDirectory: false)
[11/14] Compiling Papyrus AsyncThrowingStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncThrowingStream.swift:6:25: warning: capture of non-sendable type 'S.AsyncIterator.Type' in an isolated closure
 4 |         var iterator: S.AsyncIterator?
 5 |         self.init {
 6 |             if iterator == nil {
   |                         `- warning: capture of non-sendable type 'S.AsyncIterator.Type' in an isolated closure
 7 |                 iterator = sequence.makeAsyncIterator()
 8 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncThrowingStream.swift:4:13: warning: capture of non-sendable type 'S.Type' in an isolated closure
 2 | extension AsyncThrowingStream where Failure == Error {
 3 |     init<S: AsyncSequence>(_ sequence: S) where S.Element == Element {
 4 |         var iterator: S.AsyncIterator?
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 5 |         self.init {
 6 |             if iterator == nil {
/Users/admin/builder/spi-builder-workspace/Sources/Papyrus/Extensions/AsyncThrowingStream.swift:7:28: warning: capture of non-sendable type 'S.Type' in an isolated closure
 5 |         self.init {
 6 |             if iterator == nil {
 7 |                 iterator = sequence.makeAsyncIterator()
   |                            `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 8 |             }
 9 |             return try await iterator?.next()
[12/14] Compiling Papyrus DirectoryObserver.swift
[13/14] Compiling Papyrus ObjectChange.swift
[14/14] Compiling Papyrus Fail.swift
Build complete! (3.75s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/Unit/Performance/Supporting Files/Unit.xctestplan': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/Performance/Performance/Supporting Files/Performance.xctestplan': File not found.
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Papyrus",
  "name" : "Papyrus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Papyrus",
      "targets" : [
        "Papyrus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Unit",
      "module_type" : "SwiftTarget",
      "name" : "Unit",
      "path" : "Tests/Unit",
      "sources" : [
        "CollectionQueryTests.swift",
        "DirectoryObserverTests.swift",
        "Helpers/Assertions.swift",
        "Helpers/AsyncSequence+Extension.swift",
        "Helpers/FileManager+Extension.swift",
        "Helpers/Int+Extension.swift",
        "ObjectQueryTests.swift",
        "PapyrusStoreTests.swift",
        "Resources/ExampleA.swift",
        "Resources/ExampleB.swift",
        "Resources/ExampleC.swift",
        "Resources/ExampleD.swift"
      ],
      "target_dependencies" : [
        "Papyrus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Performance",
      "module_type" : "SwiftTarget",
      "name" : "Performance",
      "path" : "Tests/Performance",
      "sources" : [
        "PerformanceTests.swift"
      ],
      "target_dependencies" : [
        "Papyrus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Papyrus",
      "module_type" : "SwiftTarget",
      "name" : "Papyrus",
      "path" : "Sources/Papyrus",
      "product_memberships" : [
        "Papyrus"
      ],
      "sources" : [
        "Extensions/AsyncSequence.swift",
        "Extensions/AsyncStream.swift",
        "Extensions/AsyncThrowingStream.swift",
        "Fail.swift",
        "Logger.swift",
        "Observers/DirectoryObserver.swift",
        "Observers/ObjectChange.swift",
        "Papyrus.swift",
        "PapyrusStore.swift",
        "Queries/CollectionQuery.swift",
        "Queries/ObjectQuery.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/Unit/Performance/Supporting Files/Unit.xctestplan': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/Performance/Performance/Supporting Files/Performance.xctestplan': File not found.
Done.