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 DSFImageFlipbook, reference main (8b6e1e), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:09:23 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFImageFlipbook.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFImageFlipbook
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8b6e1e7 Updated doco to reflect API change
Cloned https://github.com/dagronf/DSFImageFlipbook.git
Revision (git rev-parse @):
8b6e1e7f862c1d39ce34c59705f9fa731d9fd539
SUCCESS checkout https://github.com/dagronf/DSFImageFlipbook.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "dsfimageflipbook",
      "name": "DSFImageFlipbook",
      "url": "https://github.com/dagronf/DSFImageFlipbook.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFImageFlipbook",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/DSFImageFlipbook.git
[1/42] Fetching dsfimageflipbook
Fetched https://github.com/dagronf/DSFImageFlipbook.git from cache (0.61s)
Creating working copy for https://github.com/dagronf/DSFImageFlipbook.git
Working copy of https://github.com/dagronf/DSFImageFlipbook.git resolved at main (8b6e1e7)
warning: '.resolve-product-dependencies': dependency 'dsfimageflipbook' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/DSFImageFlipbook.git
https://github.com/dagronf/DSFImageFlipbook.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFImageFlipbook",
  "name" : "DSFImageFlipbook",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DSFImageFlipbook",
      "targets" : [
        "DSFImageFlipbook"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFImageFlipbookTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFImageFlipbookTests",
      "path" : "Tests/DSFImageFlipbookTests",
      "sources" : [
        "DSFImageFlipbookTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFImageFlipbook"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFImageFlipbook",
      "module_type" : "SwiftTarget",
      "name" : "DSFImageFlipbook",
      "path" : "Sources/DSFImageFlipbook",
      "product_memberships" : [
        "DSFImageFlipbook"
      ],
      "sources" : [
        "DSFImageFlipbook.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Compiling DSFImageFlipbook DSFImageFlipbook.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageFlipbook/DSFImageFlipbook.swift:238:23: warning: capture of 'self' with non-sendable type 'DSFImageFlipbook?' in a '@Sendable' closure
 37 | #endif
 38 |
 39 | public class DSFImageFlipbook {
    |              `- note: class 'DSFImageFlipbook' does not conform to the 'Sendable' protocol
 40 | 	///
 41 | 	///  - frame: The current frame of the animation to display
    :
236 | 		DispatchQueue.global(qos: .default).async { [weak self] in
237 |
238 | 			guard let `self` = self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'DSFImageFlipbook?' in a '@Sendable' closure
239 |
240 | 			var loadedFrames: [Frame] = []
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageFlipbook/DSFImageFlipbook.swift:254:8: warning: capture of 'shouldStop' with non-sendable type '(() -> Bool)?' in a '@Sendable' closure
252 | 			while frame < frameCount {
253 | 				// Check to see if we should stop
254 | 				if shouldStop?() ?? false {
    |        |- warning: capture of 'shouldStop' with non-sendable type '(() -> Bool)?' in a '@Sendable' closure
    |        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
255 | 					// Always call the completion handler on the main thread
256 | 					DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageFlipbook/DSFImageFlipbook.swift:257:7: warning: capture of 'completion' with non-sendable type '(Result<DSFImageFlipbook, any Error>) -> Void' in a '@Sendable' closure
255 | 					// Always call the completion handler on the main thread
256 | 					DispatchQueue.main.async {
257 | 						completion(.failure(LoadStatus.cancelled))
    |       |- warning: capture of 'completion' with non-sendable type '(Result<DSFImageFlipbook, any Error>) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
258 | 					}
259 | 					return
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageFlipbook/DSFImageFlipbook.swift:504:4: warning: capture of 'self' with non-sendable type 'DSFImageFlipbook?' in a '@Sendable' closure
 37 | #endif
 38 |
 39 | public class DSFImageFlipbook {
    |              `- note: class 'DSFImageFlipbook' does not conform to the 'Sendable' protocol
 40 | 	///
 41 | 	///  - frame: The current frame of the animation to display
    :
502 | 		// Run the timer on a background thread so that we don't block during UI activities like resizing the window
503 | 		DispatchQueue.global(qos: .userInteractive).async { [weak self] in
504 | 			self?.timer = Timer.scheduledTimer(withTimeInterval: frameDuration, repeats: false) { [weak self] _ in
    |    `- warning: capture of 'self' with non-sendable type 'DSFImageFlipbook?' in a '@Sendable' closure
505 | 				DispatchQueue.main.async { [weak self] in
506 | 					self?.moveToNextFrame()
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageFlipbook/DSFImageFlipbook.swift:505:38: warning: capture of 'self' with non-sendable type 'DSFImageFlipbook?' in a '@Sendable' closure
 37 | #endif
 38 |
 39 | public class DSFImageFlipbook {
    |              `- note: class 'DSFImageFlipbook' does not conform to the 'Sendable' protocol
 40 | 	///
 41 | 	///  - frame: The current frame of the animation to display
    :
503 | 		DispatchQueue.global(qos: .userInteractive).async { [weak self] in
504 | 			self?.timer = Timer.scheduledTimer(withTimeInterval: frameDuration, repeats: false) { [weak self] _ in
505 | 				DispatchQueue.main.async { [weak self] in
    |                                      `- warning: capture of 'self' with non-sendable type 'DSFImageFlipbook?' in a '@Sendable' closure
506 | 					self?.moveToNextFrame()
507 | 				}
[4/4] Emitting module DSFImageFlipbook
Build complete! (8.06s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFImageFlipbook",
  "name" : "DSFImageFlipbook",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DSFImageFlipbook",
      "targets" : [
        "DSFImageFlipbook"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFImageFlipbookTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFImageFlipbookTests",
      "path" : "Tests/DSFImageFlipbookTests",
      "sources" : [
        "DSFImageFlipbookTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFImageFlipbook"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFImageFlipbook",
      "module_type" : "SwiftTarget",
      "name" : "DSFImageFlipbook",
      "path" : "Sources/DSFImageFlipbook",
      "product_memberships" : [
        "DSFImageFlipbook"
      ],
      "sources" : [
        "DSFImageFlipbook.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.