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 Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/to4iki/Reader.git
Reference: master
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/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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/to4iki/Reader.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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
Fetching https://github.com/orta/Komondor.git
Fetching https://github.com/llvm-swift/FileCheck.git
Fetching https://github.com/typelift/SwiftCheck.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/orta/PackageConfig.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
[1/956] Fetching shellout
[957/1435] Fetching shellout, filecheck
[1039/1944] Fetching shellout, filecheck, komondor
[1945/6814] Fetching shellout, filecheck, komondor, swiftcheck
[2530/7394] Fetching shellout, filecheck, komondor, swiftcheck, packageconfig
Fetched https://github.com/orta/PackageConfig.git from cache (0.36s)
Fetched https://github.com/orta/Komondor.git from cache (0.36s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.36s)
[1/38453] Fetching swiftformat
Fetched https://github.com/llvm-swift/FileCheck.git from cache (25.26s)
Fetched https://github.com/typelift/SwiftCheck.git from cache (25.26s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (26.04s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.37.1 (1.87s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.0.1 (0.57s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.11.0 (0.48s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.1.0 (0.42s)
Computing version for https://github.com/orta/PackageConfig.git
Computed https://github.com/orta/PackageConfig.git at 0.0.1 (0.43s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.0.8 (0.45s)
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.1.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/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.11.0
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module Reader
/host/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
/host/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! (39.14s)
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" : "/host/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.