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-dynamic-forms with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 2

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/capturecontext/swiftui-dynamic-forms.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/capturecontext/swiftui-dynamic-forms
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 99e6c37 feat: Update dependecies
Cloned https://github.com/capturecontext/swiftui-dynamic-forms.git
Revision (git rev-parse @):
99e6c37f5f97bcec17d77020fa94d460c49a5014
SUCCESS checkout https://github.com/capturecontext/swiftui-dynamic-forms.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/capturecontext/swiftui-dynamic-forms.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/8] Write sources
[7/8] Write swift-version-6F35C1178C84523A.txt
[9/79] Emitting module Prelude
[10/83] Compiling Prelude Sequence.swift
[11/83] Compiling Prelude Set.swift
[12/83] Compiling Prelude String.swift
[13/83] Compiling Prelude Pack.swift
[14/83] Compiling Prelude Scope.swift
[15/83] Compiling Prelude Tuple.swift
[16/83] Compiling Prelude Unit.swift
[17/83] Compiling Prelude Alt.swift
[18/83] Compiling Prelude Array.swift
[19/83] Compiling Prelude CommutativeRing.swift
[20/83] Compiling Prelude Plus.swift
[21/83] Compiling Prelude Ring.swift
[22/83] Compiling Prelude Semigroup.swift
[23/83] Compiling Prelude Semiring.swift
[24/83] Compiling Prelude And.swift
[25/83] Compiling Prelude Equal.swift
[26/83] Compiling Prelude Or.swift
[27/83] Compiling Prelude Xor.swift
[28/83] Compiling Prelude Cast.swift
[29/83] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[30/83] Compiling XCTestDynamicOverlay Unimplemented.swift
[31/83] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[32/83] Compiling XCTestDynamicOverlay Deprecations.swift
[33/83] Emitting module XCTestDynamicOverlay
[34/83] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[35/83] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[36/83] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[37/83] Compiling XCTestDynamicOverlay XCTFail.swift
[38/113] Compiling CustomDump Box.swift
[39/113] Compiling CustomDump Diff.swift
[40/113] Compiling CustomDump Dump.swift
[41/113] Compiling Prelude HeytingAlgebra.swift
[42/113] Compiling CustomDump CustomDumpStringConvertible.swift
[43/113] Compiling CustomDump UserNotifications.swift
[44/113] Compiling CustomDump UserNotificationsUI.swift
[45/113] Compiling CustomDump CustomDumpReflectable.swift
[46/113] Compiling CustomDump AnyType.swift
[47/113] Compiling Prelude Collection.swift
[48/113] Compiling Prelude Comparable.swift
[49/113] Compiling Prelude Comparator.swift
[50/113] Compiling Prelude Const.swift
[51/113] Compiling Prelude Curry.swift
[52/113] Compiling Prelude Hole.swift
[53/113] Compiling Prelude IO.swift
[54/113] Compiling Prelude Monoid.swift
[55/113] Compiling Prelude NearSemiring.swift
[56/113] Compiling Prelude Compose.swift
[57/113] Compiling Prelude Pipe.swift
[58/113] Compiling Prelude KeyPath.swift
[59/113] Compiling Prelude Match.swift
[60/113] Compiling Prelude Never.swift
[61/113] Compiling CustomDump UIKit.swift
[62/113] Compiling CustomDump CollectionDifference.swift
[63/113] Compiling CustomDump Mirror.swift
[64/113] Compiling CustomDump Foundation.swift
[65/113] Compiling CustomDump GameKit.swift
[66/113] Compiling CasePaths XCTUnwrap.swift
[67/113] Compiling CasePaths Operators.swift
[68/113] Compiling CasePaths CasePaths.swift
[69/113] Compiling CasePaths EnumReflection.swift
[70/113] Compiling CasePaths CasePath.swift
[71/113] Emitting module CasePaths
[72/113] Compiling GenericColor String+RGB.swift
[73/114] Compiling GenericColor StaticallyNamedType.swift
[74/114] Emitting module GenericColor
[75/114] Compiling CustomDump CoreImage.swift
[76/114] Compiling CustomDump CoreLocation.swift
[77/114] Compiling CustomDump CoreMotion.swift
[78/114] Compiling CustomDump Swift.swift
[79/114] Compiling CustomDump SwiftUI.swift
[85/114] Compiling CustomDump KeyPath.swift
[86/114] Compiling CustomDump Photos.swift
[87/114] Compiling CustomDump CustomDumpRepresentable.swift
[89/114] Compiling CustomDump Speech.swift
[90/114] Compiling CustomDump StoreKit.swift
[94/116] Compiling CustomDump String.swift
[95/116] Compiling CustomDump XCTAssertNoDifference.swift
[96/116] Emitting module CustomDump
[117/134] Compiling DynamicForms DynamicElementNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[118/134] Compiling DynamicForms DynamicFormClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[119/135] Compiling DynamicForms DynamicElementActionIdentifier.swift
[120/135] Compiling DynamicForms DynamicElementIdentifier.swift
[121/135] Compiling DynamicForms DynamicToggle.swift
[122/135] Compiling DynamicForms _DynanicTupleElement.swift
[123/135] Compiling DynamicForms DynamicUIBuilder.swift
[124/135] Compiling DynamicForms DynamicUINode.swift
[125/135] Compiling DynamicForms CasePaths+.swift
[126/135] Compiling DynamicForms DynamicElement.swift
[127/135] Compiling DynamicForms DynamicTextField.swift
[128/135] Compiling DynamicForms DynamicTextView.swift
[129/135] Compiling DynamicForms DynamicForm.swift
[130/135] Compiling DynamicForms DynamicSpacer.swift
[131/135] Compiling DynamicForms AnyDynamicElement.swift
[132/135] Compiling DynamicForms DynamicButton.swift
[133/135] Compiling DynamicForms DynamicStack.swift
[134/135] Compiling DynamicForms DynamicText.swift
[135/135] Emitting module DynamicForms
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[136/152] Compiling DynamicFormsUI Binding+Optional.swift
[137/153] Compiling DynamicFormsUI DynamicViews.swift
[138/153] Compiling DynamicFormsUI DynamicForEachView.swift
[139/153] Compiling DynamicFormsUI DefaultStack.swift
[140/153] Compiling DynamicFormsUI DefaultText.swift
[141/153] Compiling DynamicFormsUI DefaultButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[142/153] Compiling DynamicFormsUI DefaultForm.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[143/153] Emitting module DynamicFormsUI
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[144/153] Compiling DynamicFormsUI DefaultPrimitiveNode.swift
[145/153] Compiling DynamicFormsUI DefaultSpacer.swift
[146/153] Compiling DynamicFormsUI DynamicFormView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[147/153] Compiling DynamicFormsUI Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicForms/DynamicFormClient.swift:62:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import Prelude
 4 |
 5 | public struct DynamicFormClient {
   |               `- note: consider making struct 'DynamicFormClient' conform to the 'Sendable' protocol
 6 |   public init() {
 7 |     self.init(PassthroughSubject<Event, Never>())
   :
60 |
61 | extension DynamicFormClient {
62 |   public static let shared: DynamicFormClient = .init()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DynamicFormClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[148/153] Compiling DynamicFormsUI DefaultTextField.swift
[149/153] Compiling DynamicFormsUI DefaultTextView.swift
[150/153] Compiling DynamicFormsUI Text+DynamicText.swift
[151/153] Compiling DynamicFormsUI DefaultToggle.swift
[152/153] Compiling DynamicFormsUI DynamicElementNode.swift
[153/153] Compiling DynamicFormsUI PrimitiveDynamicNodeView.swift
Build complete! (57.11s)
Fetching https://github.com/capturecontext/swift-prelude.git
[1/1959] Fetching swift-prelude
Fetched https://github.com/capturecontext/swift-prelude.git from cache (1.01s)
Fetching https://github.com/capturecontext/swift-generic-color.git
[1/226] Fetching swift-generic-color
Fetched https://github.com/capturecontext/swift-generic-color.git from cache (0.80s)
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/pointfreeco/swift-case-paths.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/3714] Fetching swift-case-paths
[39/7946] Fetching swift-case-paths, swift-custom-dump
[1427/10302] Fetching swift-case-paths, swift-custom-dump, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-case-paths.git from cache (1.15s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.15s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (1.15s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 0.6.1 (0.61s)
Computing version for https://github.com/pointfreeco/swift-case-paths.git
Computed https://github.com/pointfreeco/swift-case-paths.git at 0.11.0 (0.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.0 (0.61s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 0.6.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.8.0
Creating working copy for https://github.com/capturecontext/swift-generic-color.git
Working copy of https://github.com/capturecontext/swift-generic-color.git resolved at main (a4ce3f8)
Creating working copy for https://github.com/pointfreeco/swift-case-paths.git
Working copy of https://github.com/pointfreeco/swift-case-paths.git resolved at 0.11.0
Creating working copy for https://github.com/capturecontext/swift-prelude.git
Working copy of https://github.com/capturecontext/swift-prelude.git resolved at develop (19edbd1)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-case-paths",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "0.12.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-case-paths.git"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.1",
            "upper_bound" : "0.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump.git"
    },
    {
      "identity" : "swift-prelude",
      "requirement" : {
        "branch" : [
          "develop"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/capturecontext/swift-prelude.git"
    },
    {
      "identity" : "swift-generic-color",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/capturecontext/swift-generic-color.git"
    }
  ],
  "manifest_display_name" : "swiftui-dynamic-forms",
  "name" : "swiftui-dynamic-forms",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "DynamicForms",
      "targets" : [
        "DynamicForms"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DynamicFormsUI",
      "targets" : [
        "DynamicFormsUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DynamicFormsUI",
      "module_type" : "SwiftTarget",
      "name" : "DynamicFormsUI",
      "path" : "Sources/DynamicFormsUI",
      "product_memberships" : [
        "DynamicFormsUI"
      ],
      "sources" : [
        "Default/DefaultButton.swift",
        "Default/DefaultForm.swift",
        "Default/DefaultPrimitiveNode.swift",
        "Default/DefaultSpacer.swift",
        "Default/DefaultStack.swift",
        "Default/DefaultText.swift",
        "Default/DefaultTextField.swift",
        "Default/DefaultTextView.swift",
        "Default/DefaultToggle.swift",
        "Default/DynamicElementNode.swift",
        "Default/DynamicViews.swift",
        "DynamicForEachView.swift",
        "DynamicFormView.swift",
        "Exports.swift",
        "Extensions/Binding+Optional.swift",
        "Extensions/Text+DynamicText.swift",
        "Protocols/PrimitiveDynamicNodeView.swift"
      ],
      "target_dependencies" : [
        "DynamicForms"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DynamicFormsTests",
      "module_type" : "SwiftTarget",
      "name" : "DynamicFormsTests",
      "path" : "Tests/DynamicFormsTests",
      "product_dependencies" : [
        "CustomDump"
      ],
      "sources" : [
        "DynamicFormsTests.swift"
      ],
      "target_dependencies" : [
        "DynamicForms"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DynamicForms",
      "module_type" : "SwiftTarget",
      "name" : "DynamicForms",
      "path" : "Sources/DynamicForms",
      "product_dependencies" : [
        "CasePaths",
        "CustomDump",
        "Prelude",
        "GenericColor"
      ],
      "product_memberships" : [
        "DynamicForms",
        "DynamicFormsUI"
      ],
      "sources" : [
        "Components/AnyDynamicElement.swift",
        "Components/DynamicButton.swift",
        "Components/DynamicForm.swift",
        "Components/DynamicSpacer.swift",
        "Components/DynamicStack.swift",
        "Components/DynamicText.swift",
        "Components/DynamicTextField.swift",
        "Components/DynamicTextView.swift",
        "Components/DynamicToggle.swift",
        "Components/_DynanicTupleElement.swift",
        "DynamicElementActionIdentifier.swift",
        "DynamicElementIdentifier.swift",
        "DynamicElementNode.swift",
        "DynamicFormClient.swift",
        "DynamicUIBuilder.swift",
        "DynamicUINode.swift",
        "Helpers/CasePaths+.swift",
        "Protocols/DynamicElement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.