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 SemanticImage, reference v1.0.0 (533a61), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 06:44:50 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/john-rocky/SemanticImage.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/john-rocky/SemanticImage
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 533a61a person mask and personBlend available.
Cloned https://github.com/john-rocky/SemanticImage.git
Revision (git rev-parse @):
533a61a66b65f0e5ca2fbcf119746a17839db55f
SUCCESS checkout https://github.com/john-rocky/SemanticImage.git at v1.0.0
========================================
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": "semanticimage",
      "name": "SemanticImage",
      "url": "https://github.com/john-rocky/SemanticImage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SemanticImage",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/john-rocky/SemanticImage.git
[1/341] Fetching semanticimage
Fetched https://github.com/john-rocky/SemanticImage.git from cache (1.47s)
Creating working copy for https://github.com/john-rocky/SemanticImage.git
Working copy of https://github.com/john-rocky/SemanticImage.git resolved at v1.0.0 (533a61a)
warning: '.resolve-product-dependencies': dependency 'semanticimage' 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/john-rocky/SemanticImage.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SemanticImage
/Users/admin/builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import Vision
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public class SemanticImage {
[4/4] Compiling SemanticImage SemanticImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import Vision
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public class SemanticImage {
BUILD FAILURE 6.0 macosSpm