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 KatexUtils, reference 0.3.4 (798d92), with Swift 6.0 for macOS (SPM) on 10 Oct 2024 13:58:32 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nks5117/KatexUtils.git
Reference: 0.3.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nks5117/KatexUtils
 * tag               0.3.4      -> FETCH_HEAD
HEAD is now at 798d927 update to KaTeX v0.13.16
Cloned https://github.com/nks5117/KatexUtils.git
Revision (git rev-parse @):
798d927c1fde8a808d0f0c0f30b04ae79c6fcebb
SUCCESS checkout https://github.com/nks5117/KatexUtils.git at 0.3.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": "katexutils",
      "name": "KatexUtils",
      "url": "https://github.com/nks5117/KatexUtils.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KatexUtils",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nks5117/KatexUtils.git
[1/352] Fetching katexutils
Fetched https://github.com/nks5117/KatexUtils.git from cache (1.25s)
Creating working copy for https://github.com/nks5117/KatexUtils.git
Working copy of https://github.com/nks5117/KatexUtils.git resolved at 0.3.4 (798d927)
warning: '.resolve-product-dependencies': dependency 'katexutils' 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/nks5117/KatexUtils.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.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/3] Write sources
[1/3] Copying Assets
[2/3] Write swift-version--4A847ED0836F2485.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module KatexUtils
/Users/admin/builder/spi-builder-workspace/KatexUtils/Classes/KatexRenderer.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import JavaScriptCore
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class KatexRenderer {
[5/9] Compiling KatexUtils Bundle+KatexUtils.swift
/Users/admin/builder/spi-builder-workspace/KatexUtils/Classes/KatexRenderer.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import JavaScriptCore
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class KatexRenderer {
[6/9] Compiling KatexUtils resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/KatexUtils/Classes/KatexRenderer.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import JavaScriptCore
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class KatexRenderer {
[7/9] Compiling KatexUtils KatexView.swift
/Users/admin/builder/spi-builder-workspace/KatexUtils/Classes/KatexRenderer.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import JavaScriptCore
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class KatexRenderer {
[8/9] Compiling KatexUtils KatexRenderer.swift
/Users/admin/builder/spi-builder-workspace/KatexUtils/Classes/KatexRenderer.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import JavaScriptCore
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class KatexRenderer {
[9/9] Compiling KatexUtils Katex.swift
/Users/admin/builder/spi-builder-workspace/KatexUtils/Classes/KatexRenderer.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import JavaScriptCore
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class KatexRenderer {
BUILD FAILURE 6.0 macosSpm