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

Successful build of OnboardingUI, reference main (a190b7), with Swift 6.0 (beta) for macOS (SPM) on 16 Sep 2024 19:13:43 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.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 a190b7b Add files
Cloned https://github.com/KC-2001MS/OnboardingUI.git
Revision (git rev-parse @):
a190b7b18caed2788392863dee39a9ef4b18736f
SUCCESS checkout https://github.com/KC-2001MS/OnboardingUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/KC-2001MS/OnboardingUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-117DEE11B69C53C9.txt
[5/19] Compiling OnboardingUI ColorButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[6/19] Compiling OnboardingUI DismissButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[7/19] Compiling OnboardingUI OnboardingCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
[8/19] Compiling OnboardingUI OnboardingSheetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
[9/19] Compiling OnboardingUI OnboardingContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[10/19] Compiling OnboardingUI OnboardingSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[11/19] Compiling OnboardingUI OnboardingTextFormatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[12/20] Compiling OnboardingUI OnboardingItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[13/20] Compiling OnboardingUI OnboardingButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[14/20] Compiling OnboardingUI OnboardingSubtitle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[15/20] Compiling OnboardingUI AppVersionManager.swift
[16/20] Compiling OnboardingUI Functions.swift
[17/20] Compiling OnboardingUI Onboarding.swift
[18/20] Compiling OnboardingUI Preview.swift
[19/20] Emitting module OnboardingUI
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
[20/20] Compiling OnboardingUI OnboardingTitle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/Modifier/OnboardingSheet.swift:56:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 |
55 | #Preview {
56 |     @State var isPresented: Bool = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
57 |
58 |     return Group {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/UI/View/OnboardingCardView.swift:82:5: warning: '@State' used inline will not work unless tagged with '@Previewable'
80 |
81 | #Preview {
82 |     @State var isPresented = true
   |     |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |     `- note: Add '@Previewable'
83 |
84 |     return ScrollView {
Build complete! (49.75s)
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[226/14987] Fetching swift-docc-plugin, swift-testing
[356/18063] Fetching swift-docc-plugin, swift-testing, swift-docc-symbolkit
[18064/83127] Fetching swift-docc-plugin, swift-testing, swift-docc-symbolkit, swift-syntax
Fetched https://github.com/apple/swift-testing.git from cache (3.27s)
Fetched https://github.com/apple/swift-docc-plugin from cache (3.27s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.27s)
Computing version for https://github.com/apple/swift-testing.git
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.27s)
Computed https://github.com/apple/swift-testing.git at 0.10.0 (0.59s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.20s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.73s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.0-prerelease-2024-06-12 (0.78s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.0-prerelease-2024-06-12
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at 0.10.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/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.3.0
warning: 'spi-builder-workspace': found 2 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
    /Users/admin/builder/spi-builder-workspace/Sources/OnboardingUI/Localizable.xcstrings
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-testing.git"
    }
  ],
  "manifest_display_name" : "OnboardingUI",
  "name" : "OnboardingUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "OnboardingUI",
      "targets" : [
        "OnboardingUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OnboardingUITests",
      "module_type" : "SwiftTarget",
      "name" : "OnboardingUITests",
      "path" : "Tests/OnboardingUITests",
      "product_dependencies" : [
        "Testing"
      ],
      "sources" : [
        "OnboardingUITests.swift"
      ],
      "target_dependencies" : [
        "OnboardingUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OnboardingUI",
      "module_type" : "SwiftTarget",
      "name" : "OnboardingUI",
      "path" : "Sources/OnboardingUI",
      "product_memberships" : [
        "OnboardingUI"
      ],
      "sources" : [
        "Processing/AppVersionManager.swift",
        "Processing/Functions.swift",
        "Processing/Onboarding.swift",
        "Processing/Preview.swift",
        "UI/Modifier/ColorButtonStyle.swift",
        "UI/Modifier/DismissButtonStyle.swift",
        "UI/Modifier/OnboardingSheet.swift",
        "UI/Modifier/OnboardingTextFormatting.swift",
        "UI/View/OnboardingCardView.swift",
        "UI/View/OnboardingSheetView.swift",
        "UI/View/Parts/OnboardingButton.swift",
        "UI/View/Parts/OnboardingContent.swift",
        "UI/View/Parts/OnboardingItem.swift",
        "UI/View/Parts/OnboardingSubtitle.swift",
        "UI/View/Parts/OnboardingTitle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.