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 SwiftyCrop, reference master (454d0a), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 19:10:11 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/benedom/SwiftyCrop.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/benedom/SwiftyCrop
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 454d0a0 Merge pull request #26 from yefimtsev/ui-customization
Cloned https://github.com/benedom/SwiftyCrop.git
Revision (git rev-parse @):
454d0a0d4faf6f3a19c8d817ab9d7d27524bd79f
SUCCESS checkout https://github.com/benedom/SwiftyCrop.git at master
========================================
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": "swiftycrop",
      "name": "SwiftyCrop",
      "url": "https://github.com/benedom/SwiftyCrop.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyCrop",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/benedom/SwiftyCrop.git
[6/556] Fetching swiftycrop
Fetched https://github.com/benedom/SwiftyCrop.git from cache (4.11s)
Creating working copy for https://github.com/benedom/SwiftyCrop.git
Working copy of https://github.com/benedom/SwiftyCrop.git resolved at master (454d0a0)
warning: '.resolve-product-dependencies': dependency 'swiftycrop' 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/benedom/SwiftyCrop.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/4] Write sources
[1/4] Copying Info.plist
[1/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/11] Compiling SwiftyCrop SwiftyCrop.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Models/CropViewModel.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | class CropViewModel: ObservableObject {
[6/11] Compiling SwiftyCrop CropView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Models/CropViewModel.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | class CropViewModel: ObservableObject {
[7/11] Compiling SwiftyCrop resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Models/CropViewModel.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | class CropViewModel: ObservableObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] Emitting module SwiftyCrop
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Models/CropViewModel.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | class CropViewModel: ObservableObject {
[9/11] Compiling SwiftyCrop SwiftyCropConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Models/CropViewModel.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | class CropViewModel: ObservableObject {
[10/11] Compiling SwiftyCrop CropViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Models/CropViewModel.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | class CropViewModel: ObservableObject {
[11/11] Compiling SwiftyCrop MaskShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Models/CropViewModel.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | class CropViewModel: ObservableObject {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SwiftyCrop/Resources/Localizable.xcstrings
BUILD FAILURE 6.0 macosSpm