The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AnimatedImage, reference main (d8ea74), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 22:11:24 UTC.

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krzyzanowskim/SwiftUI.AnimatedImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8ea744 Update README.md
Cloned https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.git
Revision (git rev-parse @):
d8ea744fd506cd291b2cd6c5580b806e01ee5912
SUCCESS checkout https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.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": "swiftui.animatedimage",
      "name": "AnimatedImage",
      "url": "https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI.AnimatedImage",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.git
[1/38] Fetching swiftui.animatedimage
Fetched https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.git from cache (1.01s)
Creating working copy for https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.git
Working copy of https://github.com/krzyzanowskim/SwiftUI.AnimatedImage.git resolved at main (d8ea744)
warning: '.resolve-product-dependencies': dependency 'swiftui.animatedimage' 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/krzyzanowskim/SwiftUI.AnimatedImage.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module AnimatedImage
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedImage/AnimatedImage.swift:27:8: error: no such module 'UIKit'
25 | import SwiftUI
26 | import Combine
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | public struct AnimatedImage: View {
[4/4] Compiling AnimatedImage AnimatedImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedImage/AnimatedImage.swift:27:8: error: no such module 'UIKit'
25 | import SwiftUI
26 | import Combine
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | public struct AnimatedImage: View {
BUILD FAILURE 6.0 macosSpm