This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 swiftui-simple-table with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/swiftui-simple-table.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrarski/swiftui-simple-table
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4301861 Move examples to a separate target
Cloned https://github.com/darrarski/swiftui-simple-table.git
Revision (git rev-parse @):
4301861343ed15c42448d17a3c012224a3d38a1f
SUCCESS checkout https://github.com/darrarski/swiftui-simple-table.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/darrarski/swiftui-simple-table.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/9] Compiling SimpleTable SimpleTableHeaderViewModifier.swift
[5/9] Compiling SimpleTable SimpleTableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleTable/SimpleTableView.swift:62:19: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  2 |
  3 | /// Wrapper for `SimpleTableLayout` that embeds provided content in a `ScrollView`
  4 | public struct SimpleTableView<Content>: View where Content: View {
    |                               `- note: 'Content' previously declared here
  5 |   /// Content scrolling mode
  6 |   public enum ScrollMode: Hashable {
    :
 60 |
 61 |   @ViewBuilder
 62 |   func scrollView<Content: View>(
    |                   `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 63 |     @ViewBuilder content: @escaping () -> Content
 64 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleTable/SimpleTableView.swift:98:23: warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 96 |                   {
 97 |                     DispatchQueue.main.async {
 98 |                       scrollProxy.scrollTo(startAnchorId)
    |                       `- warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     }
100 |                   }
SwiftUI.ScrollViewProxy:2:15: note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | public struct ScrollViewProxy {
  |               `- note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
3 |     public func scrollTo<ID>(_ id: ID, anchor: UnitPoint? = nil) where ID : Hashable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleTable/SimpleTableView.swift:98:44: warning: capture of 'self' with non-sendable type 'SimpleTableView<Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 |
  3 | /// Wrapper for `SimpleTableLayout` that embeds provided content in a `ScrollView`
  4 | public struct SimpleTableView<Content>: View where Content: View {
    |               `- note: consider making generic struct 'SimpleTableView' conform to the 'Sendable' protocol
  5 |   /// Content scrolling mode
  6 |   public enum ScrollMode: Hashable {
    :
 96 |                   {
 97 |                     DispatchQueue.main.async {
 98 |                       scrollProxy.scrollTo(startAnchorId)
    |                                            `- warning: capture of 'self' with non-sendable type 'SimpleTableView<Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     }
100 |                   }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleTable/SimpleTableView.swift:98:23: warning: sending 'scrollProxy' risks causing data races; this is an error in the Swift 6 language mode
 96 |                   {
 97 |                     DispatchQueue.main.async {
 98 |                       scrollProxy.scrollTo(startAnchorId)
    |                       |- warning: sending 'scrollProxy' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: task-isolated 'scrollProxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 |                     }
100 |                   }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleTable/SimpleTableView.swift:98:44: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 96 |                   {
 97 |                     DispatchQueue.main.async {
 98 |                       scrollProxy.scrollTo(startAnchorId)
    |                                            |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 |                     }
100 |                   }
[6/9] Compiling SimpleTable SimpleTableCoordinateSpaceName.swift
[7/9] Emitting module SimpleTable
/Users/admin/builder/spi-builder-workspace/Sources/SimpleTable/SimpleTableView.swift:62:19: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  2 |
  3 | /// Wrapper for `SimpleTableLayout` that embeds provided content in a `ScrollView`
  4 | public struct SimpleTableView<Content>: View where Content: View {
    |                               `- note: 'Content' previously declared here
  5 |   /// Content scrolling mode
  6 |   public enum ScrollMode: Hashable {
    :
 60 |
 61 |   @ViewBuilder
 62 |   func scrollView<Content: View>(
    |                   `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 63 |     @ViewBuilder content: @escaping () -> Content
 64 |   ) -> some View {
[8/9] Compiling SimpleTable OnChangeModifier.swift
[9/9] Compiling SimpleTable SimpleTableLayout.swift
[10/14] Emitting module SimpleTableExamples
[11/14] Compiling SimpleTableExamples ShapesTableExample.swift
[12/14] Compiling SimpleTableExamples MultiplicationTableExample.swift
[13/14] Compiling SimpleTableExamples PeopleTableExample.swift
[14/14] Compiling SimpleTableExamples ColorsTableExample.swift
Build complete! (34.85s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-simple-table",
  "name" : "swiftui-simple-table",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SimpleTable",
      "targets" : [
        "SimpleTable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SimpleTableExamples",
      "targets" : [
        "SimpleTableExamples"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleTableExamples",
      "module_type" : "SwiftTarget",
      "name" : "SimpleTableExamples",
      "path" : "Sources/SimpleTableExamples",
      "product_memberships" : [
        "SimpleTableExamples"
      ],
      "sources" : [
        "ColorsTableExample.swift",
        "MultiplicationTableExample.swift",
        "PeopleTableExample.swift",
        "ShapesTableExample.swift"
      ],
      "target_dependencies" : [
        "SimpleTable"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SimpleTable",
      "module_type" : "SwiftTarget",
      "name" : "SimpleTable",
      "path" : "Sources/SimpleTable",
      "product_memberships" : [
        "SimpleTable",
        "SimpleTableExamples"
      ],
      "sources" : [
        "OnChangeModifier.swift",
        "SimpleTableCoordinateSpaceName.swift",
        "SimpleTableHeaderViewModifier.swift",
        "SimpleTableLayout.swift",
        "SimpleTableView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.