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 with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/SemanticImage.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/john-rocky/SemanticImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9343f6c Update README.md
Cloned https://github.com/john-rocky/SemanticImage.git
Revision (git rev-parse @):
9343f6cee235c5c8a7e35dd3a0b8762eb9b62b42
SUCCESS checkout https://github.com/john-rocky/SemanticImage.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "semanticimage",
      "name": "SemanticImage",
      "url": "https://github.com/john-rocky/SemanticImage.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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 (0.96s)
Creating working copy for https://github.com/john-rocky/SemanticImage.git
Working copy of https://github.com/john-rocky/SemanticImage.git resolved at main
warning: '.resolve-product-dependencies': dependency 'semanticimage' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/john-rocky/SemanticImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying segmentation.mlmodelc
[2/5] Compiling SemanticImage resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module SemanticImage
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[4/5] Compiling SemanticImage SemanticImage.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[5/5] Compiling SemanticImage segmentation.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] Compiling SemanticImage resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[2/4] Compiling SemanticImage segmentation.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SemanticImage
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[4/4] Compiling SemanticImage SemanticImage.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticImage/SemanticImage.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm