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 1.0.1 (8b6e1e), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 06:54:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFImageFlipbook.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFImageFlipbook
 * tag               1.0.1      -> FETCH_HEAD
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 1.0.1
========================================
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.65s)
Creating working copy for https://github.com/dagronf/DSFImageFlipbook.git
Working copy of https://github.com/dagronf/DSFImageFlipbook.git resolved at 1.0.1 (8b6e1e7)
warning: '.resolve-product-dependencies': dependency 'dsfimageflipbook' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dagronf/DSFImageFlipbook.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |        `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |       `- 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
506 | 					self?.moveToNextFrame()
507 | 				}
[4/4] Emitting module DSFImageFlipbook
Build complete! (9.72s)
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.