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 PhotoSelectAndCrop, reference 2.0.4 (26eec4), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 13:26:47 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/Rillieux/PhotoSelectAndCrop.git
Reference: 2.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Rillieux/PhotoSelectAndCrop
 * tag               2.0.4      -> FETCH_HEAD
HEAD is now at 26eec46 Added "public" in init for ImageAttributes
Cloned https://github.com/Rillieux/PhotoSelectAndCrop.git
Revision (git rev-parse @):
26eec466026a99ebde07e653ea325d7492f949d9
SUCCESS checkout https://github.com/Rillieux/PhotoSelectAndCrop.git at 2.0.4
========================================
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": "photoselectandcrop",
      "name": "PhotoSelectAndCrop",
      "url": "https://github.com/Rillieux/PhotoSelectAndCrop.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PhotoSelectAndCrop",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Rillieux/PhotoSelectAndCrop.git
[1/241] Fetching photoselectandcrop
Fetched https://github.com/Rillieux/PhotoSelectAndCrop.git from cache (1.13s)
Creating working copy for https://github.com/Rillieux/PhotoSelectAndCrop.git
Working copy of https://github.com/Rillieux/PhotoSelectAndCrop.git resolved at 2.0.4 (26eec46)
warning: '.resolve-product-dependencies': dependency 'photoselectandcrop' 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/Rillieux/PhotoSelectAndCrop.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/5] Write sources
[1/5] Copying Localizable.strings
[1/5] Copying Info.plist
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/18] Compiling PhotoSelectAndCrop ImagePane.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[7/19] Compiling PhotoSelectAndCrop ImageMoveAndScaleSheet+ViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[8/19] Compiling PhotoSelectAndCrop Color+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[9/19] Compiling PhotoSelectAndCrop DeviceOrientation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[10/19] Compiling PhotoSelectAndCrop resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[11/19] Compiling PhotoSelectAndCrop SystemPHPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[12/19] Compiling PhotoSelectAndCrop ImageMoveAndScaleSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[13/19] Compiling PhotoSelectAndCrop SystemImagePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[14/19] Compiling PhotoSelectAndCrop ViewModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/19] Emitting module PhotoSelectAndCrop
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[16/19] Compiling PhotoSelectAndCrop ImageManipulation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[17/19] Compiling PhotoSelectAndCrop ImageMoveAndScaleSheet+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[18/19] Compiling PhotoSelectAndCrop Image+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
[19/19] Compiling PhotoSelectAndCrop ImageAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | ///A class that enables determining if the user's device is in landscape or portrait position.
BUILD FAILURE 6.0 macosSpm