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 Dysprosium, reference master (f924ff), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 07:11:44 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/e-sites/Dysprosium.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/e-sites/Dysprosium
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f924ff3 Removed AnyObject protocol inheritance
Cloned https://github.com/e-sites/Dysprosium.git
Revision (git rev-parse @):
f924ff3e0c5c3b5c6577916216155156bb7a950e
SUCCESS checkout https://github.com/e-sites/Dysprosium.git at master
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/e-sites/lithium.git
[1/304] Fetching lithium
[74/3964] Fetching lithium, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.08s)
Fetched https://github.com/e-sites/lithium.git from cache (1.08s)
Computing version for https://github.com/e-sites/lithium.git
Computed https://github.com/e-sites/lithium.git at 9.0.1 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.3.0 (0.63s)
Creating working copy for https://github.com/e-sites/lithium.git
Working copy of https://github.com/e-sites/lithium.git resolved at 9.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.3.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": "dysprosium",
      "name": "Dysprosium",
      "url": "https://github.com/e-sites/Dysprosium.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Dysprosium",
      "dependencies": [
        {
          "identity": "lithium",
          "name": "Lithium",
          "url": "https://github.com/e-sites/lithium.git",
          "version": "9.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lithium",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/e-sites/Dysprosium.git
[1/211] Fetching dysprosium
Fetched https://github.com/e-sites/Dysprosium.git from cache (0.69s)
Fetching https://github.com/e-sites/lithium.git from cache
Fetched https://github.com/e-sites/lithium.git from cache (0.46s)
Computing version for https://github.com/e-sites/lithium.git
Computed https://github.com/e-sites/lithium.git at 9.0.5 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.51s)
Creating working copy for https://github.com/e-sites/Dysprosium.git
Working copy of https://github.com/e-sites/Dysprosium.git resolved at master (f924ff3)
Creating working copy for https://github.com/e-sites/lithium.git
Working copy of https://github.com/e-sites/lithium.git resolved at 9.0.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
warning: '.resolve-product-dependencies': dependency 'dysprosium' is not used by any target
Found 1 product dependencies
  - Lithium
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/e-sites/Dysprosium.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/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/12] Compiling Logging LogHandler.swift
[7/12] Emitting module Logging
[8/12] Compiling Logging Logging.swift
[9/12] Compiling Logging Locks.swift
[10/19] Compiling Dysprosium Dysprosium.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[11/19] Compiling Lithium LogTheme.swift
[12/19] Compiling Lithium EmojiLogTheme.swift
[13/19] Compiling Lithium DefaultLogTheme.swift
[14/19] Compiling Lithium LogStyle.swift
[15/19] Compiling Lithium LogFormatter.swift
[16/19] Emitting module Lithium
[17/19] Compiling Lithium LithiumLogger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/19] Emitting module Dysprosium
/Users/admin/builder/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[19/19] Compiling Dysprosium DysprosiumCompatible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
BUILD FAILURE 6.0 macosSpm