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, reference 0.1.1 (18c2f7), with Swift 6.0 for macOS (SPM) on 26 Oct 2024 17:54:29 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.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.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/to4iki/Reader.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/to4iki/Reader
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 18c2f75 Bump version 0.1.1
Cloned https://github.com/to4iki/Reader.git
Revision (git rev-parse @):
18c2f7551d4d48d72f497dea64b10fa840235bfe
SUCCESS checkout https://github.com/to4iki/Reader.git at 0.1.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "reader",
      "name": "Reader",
      "url": "https://github.com/to4iki/Reader.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Reader",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/to4iki/Reader.git
[1/169] Fetching reader
Fetched https://github.com/to4iki/Reader.git from cache (0.69s)
Creating working copy for https://github.com/to4iki/Reader.git
Working copy of https://github.com/to4iki/Reader.git resolved at 0.1.1 (18c2f75)
warning: '.resolve-product-dependencies': dependency 'reader' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/to4iki/Reader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun 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--4A847ED0836F2485.txt
[3/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) }
[4/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) }
Build complete! (1.63s)
Build complete.
{
  "dependencies" : [
  ],
  "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",
      "sources" : [
        "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.