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 ShimmeringUiView, reference main (c6a48e), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 22:30:34 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/Ninise/swiftui-shimmeringview.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ninise/swiftui-shimmeringview
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c6a48ef Merge pull request #2 from trevorturk/watchos-min
Cloned https://github.com/Ninise/swiftui-shimmeringview.git
Revision (git rev-parse @):
c6a48ef18a15a950895645a5b4d6462ed6c0c467
SUCCESS checkout https://github.com/Ninise/swiftui-shimmeringview.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-shimmeringview",
      "name": "ShimmeringUiView",
      "url": "https://github.com/Ninise/swiftui-shimmeringview.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-shimmeringview",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Ninise/swiftui-shimmeringview.git
[1/59] Fetching swiftui-shimmeringview
Fetched https://github.com/Ninise/swiftui-shimmeringview.git from cache (1.03s)
Creating working copy for https://github.com/Ninise/swiftui-shimmeringview.git
Working copy of https://github.com/Ninise/swiftui-shimmeringview.git resolved at main (c6a48ef)
warning: '.resolve-product-dependencies': dependency 'swiftui-shimmeringview' 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/Ninise/swiftui-shimmeringview.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
[3/5] Compiling ShimmeringUiView ShimmeringUiView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShimmeringUiView/ShimmeringUiView.swift:60:14: error: 'redacted(reason:)' is only available in macOS 11.0 or newer
56 |     }
57 |
58 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
59 |         content
60 |             .redacted(reason: .placeholder)
   |              |- error: 'redacted(reason:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
61 |             .mask(LinearGradient(gradient: gradient, startPoint: startPoint, endPoint: endPoint))
62 |             .animation(animation, value: isInit)
[4/5] Compiling ShimmeringUiView Extension.swift
[5/5] Emitting module ShimmeringUiView
BUILD FAILURE 6.0 macosSpm