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 OneWay, reference 2.10.0 (514c71), with Swift 6.0 for Linux on 6 Nov 2024 19:07:47 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DevYeom/OneWay.git
Reference: 2.10.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/DevYeom/OneWay
 * tag               2.10.0     -> FETCH_HEAD
HEAD is now at 514c714 Improve the debounce performance (#105)
Cloned https://github.com/DevYeom/OneWay.git
Revision (git rev-parse @):
514c7140fccf0f3d48b541acb8cac24f8e25482a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DevYeom/OneWay.git at 2.10.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/DevYeom/OneWay.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/pointfreeco/swift-clocks
[1/1278] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.28s)
Computing version for https://github.com/pointfreeco/swift-clocks
warning: 'swift-clocks': /Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "swift-clocks",
 7 |   // NB: While the `Clock` protocol is iOS 16+, etc., the package should support earlier platforms
Computed https://github.com/pointfreeco/swift-clocks at 1.0.5 (0.42s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/758] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.20s)
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.60s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
warning: 'swift-concurrency-extras': /Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "swift-concurrency-extras",
 7 |   platforms: [
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.2.0 (0.39s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.40s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.5
warning: 'swift-clocks': /host/spi-builder-workspace/.build/checkouts/swift-clocks/Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "swift-clocks",
 7 |   // NB: While the `Clock` protocol is iOS 16+, etc., the package should support earlier platforms
warning: 'swift-concurrency-extras': /host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "swift-concurrency-extras",
 7 |   platforms: [
Building for debugging...
[0/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling OneWay CopyOnWrite.swift
[6/15] Compiling OneWay Ignored.swift
[7/16] Compiling OneWay Triggered.swift
[8/16] Compiling OneWay ViewStore.swift
[9/16] Compiling OneWay AnyEffect.swift
/host/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 |             continuation.yield(last)
85 |         }
86 |         return stream.map { $0[keyPath: keyPath] }
   |                                         `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 |     }
88 |     #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
[10/16] Compiling OneWay AsyncViewStateSequence.swift
/host/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 |             continuation.yield(last)
85 |         }
86 |         return stream.map { $0[keyPath: keyPath] }
   |                                         `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 |     }
88 |     #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
[11/16] Emitting module OneWay
[12/16] Compiling OneWay Effect.swift
[13/16] Compiling OneWay EffectsBuilder.swift
[14/16] Compiling OneWay resource_bundle_accessor.swift
[15/16] Compiling OneWay Reducer.swift
[16/16] Compiling OneWay Store.swift
[18/20] Compiling OneWayTesting TestingEnvironment.swift
[19/20] Emitting module OneWayTesting
[20/20] Compiling OneWayTesting Store+Testing.swift
Build complete! (12.98s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-clocks",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-clocks"
    }
  ],
  "manifest_display_name" : "OneWay",
  "name" : "OneWay",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "OneWay",
      "targets" : [
        "OneWay"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OneWayTesting",
      "targets" : [
        "OneWayTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OneWayTests",
      "module_type" : "SwiftTarget",
      "name" : "OneWayTests",
      "path" : "Tests/OneWayTests",
      "product_dependencies" : [
        "Clocks"
      ],
      "sources" : [
        "EffectTests.swift",
        "EffectsBuilderTests.swift",
        "PropertyWrappersTests.swift",
        "StoreTests.swift",
        "TestHelper/Publisher+Async.swift",
        "TestHelper/XCTestCase+Expect.swift",
        "ViewStoreTests.swift"
      ],
      "target_dependencies" : [
        "OneWay",
        "OneWayTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OneWayTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "OneWayTestingTests",
      "path" : "Tests/OneWayTestingTests",
      "sources" : [
        "TestingTests.swift",
        "XCTestTests.swift"
      ],
      "target_dependencies" : [
        "OneWayTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OneWayTesting",
      "module_type" : "SwiftTarget",
      "name" : "OneWayTesting",
      "path" : "Sources/OneWayTesting",
      "product_memberships" : [
        "OneWayTesting"
      ],
      "sources" : [
        "Store+Testing.swift",
        "TestingEnvironment.swift"
      ],
      "target_dependencies" : [
        "OneWay"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OneWay",
      "module_type" : "SwiftTarget",
      "name" : "OneWay",
      "path" : "Sources/OneWay",
      "product_memberships" : [
        "OneWay",
        "OneWayTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/OneWay/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyEffect.swift",
        "AsyncSequences/AsyncViewStateSequence.swift",
        "Effect.swift",
        "EffectsBuilder.swift",
        "PropertyWrappers/CopyOnWrite.swift",
        "PropertyWrappers/Ignored.swift",
        "PropertyWrappers/Triggered.swift",
        "Reducer.swift",
        "Store.swift",
        "ViewStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.