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 SYButton, reference main (e6e955), with Swift 6.0 for macOS (SPM) on 2 May 2025 01:39:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emrearmagan/SYButton.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/emrearmagan/SYButton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e6e955c update workflow
Cloned https://github.com/emrearmagan/SYButton.git
Revision (git rev-parse @):
e6e955cfa13e250ded6298def1edf0cf2f196fac
SUCCESS checkout https://github.com/emrearmagan/SYButton.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/emrearmagan/SYButton.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] Emitting module SYButton
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[4/16] Compiling SYButton SYButton+ImagePlacement.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[5/16] Compiling SYButton SYLoadingIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[6/16] Compiling SYButton SYButton+Icon.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[7/16] Compiling SYButton SYButton+Feedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[8/16] Compiling SYButton SYLoadingSpinner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[9/16] Compiling SYButton SYScaleHighlighter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[10/16] Compiling SYButton SYBallPulseIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[11/16] Compiling SYButton SYButtonHighlighter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[12/16] Compiling SYButton SYRippleHighlighter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[13/16] Compiling SYButton SYButtonBackgroundView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[14/16] Compiling SYButton SYGradientLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[15/17] Compiling SYButton SYButtonBackgroundView+CornerRadius.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[16/17] Compiling SYButton SYButtonBackgroundView+GradientDirection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
[17/17] Compiling SYButton SYButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SYButton/Components/Background/SYButtonBackgroundView.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | /// A view that can display either a solid background color or a gradient with customizable corner radius.
BUILD FAILURE 6.0 macosSpm