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 OnboardingUI, reference main (34dc16), with Swift 5.9 for macOS (SPM) on 10 Oct 2024 10:39:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KC-2001MS/OnboardingUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KC-2001MS/OnboardingUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 34dc160 fix docc and icon
Cloned https://github.com/KC-2001MS/OnboardingUI.git
Revision (git rev-parse @):
34dc160435be09612639280264e3a0cd5f8d10f9
SUCCESS checkout https://github.com/KC-2001MS/OnboardingUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/KC-2001MS/OnboardingUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Copying Localizable.xcstrings
[3/4] Copying Info.plist
[5/20] Compiling OnboardingUI OnboardingSubtitle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[6/21] Compiling OnboardingUI OnboardingTitle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[7/21] Compiling OnboardingUI OnboardingItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[8/21] Compiling OnboardingUI AppVersionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/Processing/AppVersionManager.swift:69:16: error: extensions must not contain stored properties
    @Entry var appVersionManager: AppVersionManager = AppVersionManager()
               ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/Processing/AppVersionManager.swift:69:6: error: unknown attribute 'Entry'
    @Entry var appVersionManager: AppVersionManager = AppVersionManager()
     ^
[9/21] Compiling OnboardingUI Functions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/Processing/AppVersionManager.swift:69:16: error: extensions must not contain stored properties
    @Entry var appVersionManager: AppVersionManager = AppVersionManager()
               ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/Processing/AppVersionManager.swift:69:6: error: unknown attribute 'Entry'
    @Entry var appVersionManager: AppVersionManager = AppVersionManager()
     ^
[10/21] Compiling OnboardingUI Onboarding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/21] Compiling OnboardingUI Preview.swift
[12/21] Emitting module OnboardingUI
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/Processing/AppVersionManager.swift:69:16: error: extensions must not contain stored properties
    @Entry var appVersionManager: AppVersionManager = AppVersionManager()
               ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/Processing/AppVersionManager.swift:69:6: error: unknown attribute 'Entry'
    @Entry var appVersionManager: AppVersionManager = AppVersionManager()
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[13/21] Compiling OnboardingUI OnboardingCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_12OnboardingUI33_7440BFCA4398AF887B87E9BF24048C73Ll7PreviewfMf_.swift:8:9: error: ambiguous use of 'init(_:traits:body:)'
        DeveloperToolsSupport.Preview {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:81:1: note: in expansion of macro 'Preview' here
#Preview {
^~~~~~~~~~
AppKit.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSView)
           ^
AppKit.Preview:4:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSViewController)
           ^
SwiftUI.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> View)
           ^
[14/21] Compiling OnboardingUI OnboardingSheetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_12OnboardingUI33_7440BFCA4398AF887B87E9BF24048C73Ll7PreviewfMf_.swift:8:9: error: ambiguous use of 'init(_:traits:body:)'
        DeveloperToolsSupport.Preview {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:81:1: note: in expansion of macro 'Preview' here
#Preview {
^~~~~~~~~~
AppKit.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSView)
           ^
AppKit.Preview:4:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSViewController)
           ^
SwiftUI.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> View)
           ^
[15/21] Compiling OnboardingUI ColorButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[16/21] Compiling OnboardingUI DismissButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[17/21] Compiling OnboardingUI OnboardingButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[18/21] Compiling OnboardingUI OnboardingContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
[19/21] Compiling OnboardingUI OnboardingSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_12OnboardingUI33_4BF1D9FB882ACA14542E97FE6C789CC3Ll7PreviewfMf_.swift:8:9: error: ambiguous use of 'init(_:traits:body:)'
        DeveloperToolsSupport.Preview {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:55:1: note: in expansion of macro 'Preview' here
#Preview {
^~~~~~~~~~
AppKit.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSView)
           ^
AppKit.Preview:4:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSViewController)
           ^
SwiftUI.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> View)
           ^
[20/21] Compiling OnboardingUI OnboardingTextFormatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented: Bool = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:58:5: warning: result of 'Group<Content>' initializer is unused
    Group {
    ^     ~
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:6: error: unknown attribute 'Previewable'
    @Previewable @State var isPresented = true
     ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:84:5: warning: result of 'ScrollView<Content>' initializer is unused
    ScrollView {
    ^          ~
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_12OnboardingUI33_4BF1D9FB882ACA14542E97FE6C789CC3Ll7PreviewfMf_.swift:8:9: error: ambiguous use of 'init(_:traits:body:)'
        DeveloperToolsSupport.Preview {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:55:1: note: in expansion of macro 'Preview' here
#Preview {
^~~~~~~~~~
AppKit.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSView)
           ^
AppKit.Preview:4:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSViewController)
           ^
SwiftUI.Preview:3:12: note: found this candidate
    public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> View)
           ^
[21/21] Compiling OnboardingUI resource_bundle_accessor.swift
error: fatalError
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[226/5148] Fetching swift-docc-plugin, swift-docc-symbolkit
[227/19073] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-testing
Fetched https://github.com/swiftlang/swift-docc-symbolkit (2.19s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/apple/swift-testing.git (2.19s)
Fetched https://github.com/apple/swift-docc-plugin (2.19s)
Computing version for https://github.com/apple/swift-docc-plugin
[1/65708] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.35s)
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (6.09s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/PrivacyInfo.xcprivacy
BUILD FAILURE 5.9 macosSpm