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 MulticolorGradient, reference v0.1.1 (39ce0a), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 13:49:40 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/ArthurGuibert/SwiftUI-MulticolorGradient.git
Reference: v0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient
 * tag               v0.1.1     -> FETCH_HEAD
HEAD is now at 39ce0a8 Support the simulator and GPU family < 4
Cloned https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Revision (git rev-parse @):
39ce0a8f9c4147ffb15271a9ed91c89f4af423df
SUCCESS checkout https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git at v0.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": "swiftui-multicolorgradient",
      "name": "MulticolorGradient",
      "url": "https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-MulticolorGradient",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
[1/148] Fetching swiftui-multicolorgradient
Fetched https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git from cache (0.71s)
Creating working copy for https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git
Working copy of https://github.com/ArthurGuibert/SwiftUI-MulticolorGradient.git resolved at v0.1.1 (39ce0a8)
warning: '.resolve-product-dependencies': dependency 'swiftui-multicolorgradient' 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/ArthurGuibert/SwiftUI-MulticolorGradient.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/3] Write sources
[1/3] Copying MulticolorGradientShader.metal
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling MulticolorGradient MulticolorGradientViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import MetalKit
 10 | import SwiftUI
[5/8] Compiling MulticolorGradient resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import MetalKit
 10 | import SwiftUI
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module MulticolorGradient
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import MetalKit
 10 | import SwiftUI
[7/8] Compiling MulticolorGradient MirrorAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import MetalKit
 10 | import SwiftUI
[8/8] Compiling MulticolorGradient MulticolorGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/MulticolorGradient/MulticolorGradientViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import MetalKit
 10 | import SwiftUI
BUILD FAILURE 6.0 macosSpm