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 Reader 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/to4iki/Reader.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/to4iki/Reader
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b2db817 Merge pull request #5 from to4iki/git-hooks
Cloned https://github.com/to4iki/Reader.git
Revision (git rev-parse @):
b2db81756abc51df29238089d785272598ec7d82
SUCCESS checkout https://github.com/to4iki/Reader.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/to4iki/Reader.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Compiling Reader Reader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Reader/Reader.swift:60:28: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 2 | /// - Input: for denpendency.
 3 | /// - Element: return a value type.
 4 | public struct Reader<Input, Element> {
   |                      `- note: 'Input' previously declared here
 5 |     public typealias WorkFactory = (Input) -> Element
 6 |
   :
58 |     ///   - reader2: The second reader
59 |     /// - Returns: A new combined reader
60 |     public static func zip<Input, Element1, Element2>(_ reader1: Reader<Input, Element1>, _ reader2: Reader<Input, Element2>) -> Reader<Input, (Element1, Element2)> {
   |                            `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 |         return reader1.flatMap { element1 in
62 |             reader2.map { element2 in (element1, element2) }
[4/4] Emitting module Reader
/Users/admin/builder/spi-builder-workspace/Sources/Reader/Reader.swift:60:28: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 2 | /// - Input: for denpendency.
 3 | /// - Element: return a value type.
 4 | public struct Reader<Input, Element> {
   |                      `- note: 'Input' previously declared here
 5 |     public typealias WorkFactory = (Input) -> Element
 6 |
   :
58 |     ///   - reader2: The second reader
59 |     /// - Returns: A new combined reader
60 |     public static func zip<Input, Element1, Element2>(_ reader1: Reader<Input, Element1>, _ reader2: Reader<Input, Element2>) -> Reader<Input, (Element1, Element2)> {
   |                            `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 |         return reader1.flatMap { element1 in
62 |             reader2.map { element2 in (element1, element2) }
Build complete! (47.49s)
Fetching https://github.com/llvm-swift/FileCheck.git
Fetching https://github.com/orta/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/typelift/SwiftCheck.git
Fetching https://github.com/orta/Komondor.git
[5/479] Fetching filecheck
[83/1059] Fetching filecheck, packageconfig
[89/5929] Fetching filecheck, packageconfig, swiftcheck
[96/6885] Fetching filecheck, packageconfig, swiftcheck, shellout
[311/7394] Fetching filecheck, packageconfig, swiftcheck, shellout, komondor
[7249/45819] Fetching filecheck, packageconfig, swiftcheck, shellout, komondor, swiftformat
Fetched https://github.com/orta/PackageConfig.git from cache (1.27s)
Fetched https://github.com/llvm-swift/FileCheck.git from cache (1.28s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.28s)
Fetched https://github.com/orta/Komondor.git from cache (1.28s)
[5255/43295] Fetching swiftcheck, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (34.46s)
Fetched https://github.com/typelift/SwiftCheck.git from cache (34.46s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.37.1 (2.27s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.1 (0.67s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.11.0 (0.66s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.1.0 (0.67s)
Computing version for https://github.com/orta/PackageConfig.git
Computed https://github.com/orta/PackageConfig.git at 0.0.1 (0.67s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.0.8 (0.67s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.1.0
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.11.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.37.1
Creating working copy for https://github.com/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.0.1
Creating working copy for https://github.com/orta/PackageConfig.git
Working copy of https://github.com/orta/PackageConfig.git resolved at 0.0.1
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.0.8
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftcheck",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/typelift/SwiftCheck.git"
    },
    {
      "identity" : "komondor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/orta/Komondor.git"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.37.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat.git"
    }
  ],
  "manifest_display_name" : "Reader",
  "name" : "Reader",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Reader",
      "targets" : [
        "Reader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReaderTests",
      "module_type" : "SwiftTarget",
      "name" : "ReaderTests",
      "path" : "Tests/ReaderTests",
      "product_dependencies" : [
        "SwiftCheck"
      ],
      "sources" : [
        "Reader+SwiftCheck.swift",
        "ReaderTests.swift"
      ],
      "target_dependencies" : [
        "Reader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Reader",
      "module_type" : "SwiftTarget",
      "name" : "Reader",
      "path" : "Sources/Reader",
      "product_memberships" : [
        "Reader"
      ],
      "sources" : [
        "Reader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.