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 QRDispenser, reference 1.1.1 (afd736), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:43:32 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/andrealufino/QRDispenser.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/andrealufino/QRDispenser
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at afd7365 Merge branch 'release/1.1.1'
Cloned https://github.com/andrealufino/QRDispenser.git
Revision (git rev-parse @):
afd7365ab59ba7ca7c52724728de80db3fa35ba9
SUCCESS checkout https://github.com/andrealufino/QRDispenser.git at 1.1.1
========================================
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": "qrdispenser",
      "name": "QRDispenser",
      "url": "https://github.com/andrealufino/QRDispenser.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/QRDispenser",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/andrealufino/QRDispenser.git
[1/300] Fetching qrdispenser
Fetched https://github.com/andrealufino/QRDispenser.git from cache (0.94s)
Creating working copy for https://github.com/andrealufino/QRDispenser.git
Working copy of https://github.com/andrealufino/QRDispenser.git resolved at 1.1.1 (afd7365)
warning: '.resolve-product-dependencies': dependency 'qrdispenser' 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/andrealufino/QRDispenser.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/7] Compiling QRDispenser URL+QRDispenser.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRDispenser/CIImage+QRDispenser.swift:10:8: error: no such module 'UIKit'
 8 | import CoreImage
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 |
[4/7] Compiling QRDispenser Validator.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRDispenser/CIImage+QRDispenser.swift:10:8: error: no such module 'UIKit'
 8 | import CoreImage
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module QRDispenser
/Users/admin/builder/spi-builder-workspace/Sources/QRDispenser/CIImage+QRDispenser.swift:10:8: error: no such module 'UIKit'
 8 | import CoreImage
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 |
[6/7] Compiling QRDispenser CIImage+QRDispenser.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRDispenser/CIImage+QRDispenser.swift:10:8: error: no such module 'UIKit'
 8 | import CoreImage
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 |
[7/7] Compiling QRDispenser QRDispenser.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRDispenser/CIImage+QRDispenser.swift:10:8: error: no such module 'UIKit'
 8 | import CoreImage
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 |
BUILD FAILURE 6.0 macosSpm