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.10 for macOS (SPM) on 10 Oct 2024 10:38:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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.10
Building package at path:  $PWD
https://github.com/KC-2001MS/OnboardingUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[3/6] Copying Localizable.xcstrings
[4/6] Copying Info.plist
[5/6] Write swift-version-33747A42983211AE.txt
[7/22] 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 {
    ^          ~
[8/22] 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 {
    ^          ~
[9/22] 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 {
    ^          ~
[10/22] 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 {
    ^          ~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/23] 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 {
    ^          ~
[12/23] Compiling OnboardingUI Onboarding.swift
[13/23] Compiling OnboardingUI Preview.swift
[14/23] 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 {
    ^          ~
[15/23] 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/23] 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/23] 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:14: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 () -> any View)
           ^
[18/23] 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:14: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 () -> any View)
           ^
[19/23] 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()
     ^
[20/23] 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()
     ^
[21/23] 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:14: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 () -> any View)
           ^
[22/23] 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:14: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 () -> any View)
           ^
[23/23] Compiling OnboardingUI resource_bundle_accessor.swift
error: fatalError
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-testing.git
[1/2038] Fetching swift-docc-plugin
[226/15963] Fetching swift-docc-plugin, swift-testing
[227/19073] Fetching swift-docc-plugin, swift-testing, swift-docc-symbolkit
[19074/84781] Fetching swift-docc-plugin, swift-testing, swift-docc-symbolkit, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (4.13s)
Fetched https://github.com/apple/swift-docc-plugin from cache (4.13s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.13s)
Fetched https://github.com/apple/swift-testing.git from cache (4.13s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.62s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.63s)
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
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
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.10 macosSpm