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 Pipify, reference main (e35dce), with Swift 5.10 for macOS (SPM) on 21 Aug 2024 20:38:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getsidetrack/swiftui-pipify.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getsidetrack/swiftui-pipify
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e35dced Merge pull request #32 from yusufkildan/improvements
Cloned https://github.com/getsidetrack/swiftui-pipify.git
Revision (git rev-parse @):
e35dced4771bb538d27d3a63361bca2f0ed56930
SUCCESS checkout https://github.com/getsidetrack/swiftui-pipify.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-pipify",
      "name": "Pipify",
      "url": "https://github.com/getsidetrack/swiftui-pipify.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-pipify",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/getsidetrack/swiftui-pipify.git
[1/231] Fetching swiftui-pipify
Fetched https://github.com/getsidetrack/swiftui-pipify.git from cache (1.20s)
Creating working copy for https://github.com/getsidetrack/swiftui-pipify.git
Working copy of https://github.com/getsidetrack/swiftui-pipify.git resolved at main (e35dced)
warning: '.resolve-product-dependencies': dependency 'swiftui-pipify' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/getsidetrack/swiftui-pipify.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/9] Compiling Pipify View+Pipify.swift
[4/9] Compiling Pipify PipifyViewModifier.swift
[5/9] Compiling Pipify View+Changes.swift
[6/9] Compiling Pipify LayerView.swift
[7/9] Compiling Pipify PipifyController.swift
/Users/admin/builder/spi-builder-workspace/Sources/PipifyController.swift:107:66: warning: capture of 'renderer' with non-sendable type 'ImageRenderer<some View>' in a `@Sendable` closure
                let buffer = try await view.makeBuffer(renderer: renderer)
                                                                 ^
SwiftUI.ImageRenderer:2:20: note: generic class 'ImageRenderer' does not conform to the 'Sendable' protocol
final public class ImageRenderer<Content> : ObservableObject where Content : View {
                   ^
[8/9] Emitting module Pipify
[9/9] Compiling Pipify View+Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/View+Buffer.swift:14:27: error: cannot find 'UIScreen' in scope
        let scale = await UIScreen.main.scale * 2
                          ^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm