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 master (b2db81), with Swift 6.1 for Linux on 25 Apr 2025 11:38:19 UTC.

Swift 6 data race errors: 1

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/to4iki/Reader.git
https://github.com/to4iki/Reader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/typelift/SwiftCheck.git
Fetching https://github.com/orta/Komondor.git
[1/4870] Fetching swiftcheck
[1706/5379] Fetching swiftcheck, komondor
[5355/52109] Fetching swiftcheck, komondor, swiftformat
Fetched https://github.com/orta/Komondor.git from cache (31.22s)
Fetched https://github.com/typelift/SwiftCheck.git from cache (31.22s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (32.01s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.12.0 (38.78s)
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (1.03s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (1.73s)
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[7/14994] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (1.31s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.38s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (2.09s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (0.66s)
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/f-meloni/Rocket
[1/960] Fetching shellout
[961/1540] Fetching shellout, packageconfig
[1095/2926] Fetching shellout, packageconfig, rocket
Fetched https://github.com/f-meloni/Rocket from cache (0.36s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.36s)
[1/149893] Fetching swiftlint
Fetched https://github.com/shibapm/PackageConfig.git from cache (31.22s)
Fetched https://github.com/Realm/SwiftLint.git from cache (33.16s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (34.86s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/jpsim/Yams
[1/116] Fetching logger
[19/4979] Fetching logger, swiftshell
[1149/15268] Fetching logger, swiftshell, yams
Fetched https://github.com/shibapm/Logger from cache (6.07s)
Fetched https://github.com/kareman/SwiftShell from cache (6.08s)
Fetched https://github.com/jpsim/Yams from cache (6.13s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (7.28s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (1.04s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.91s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (1.05s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.13s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.3.1 (2.37s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.59.1 (2.55s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/84] Fetching collectionconcurrencykit
[82/1013] Fetching collectionconcurrencykit, swiftytexttable
[909/17125] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten
[1173/30059] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.49s)
[4309/29130] Fetching collectionconcurrencykit, sourcekitten, cryptoswift
[13785/99325] Fetching collectionconcurrencykit, sourcekitten, cryptoswift, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (8.38s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (8.40s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (8.41s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.43s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (10.12s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (1.23s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.28s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.57s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (1.15s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.60s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.55.5 (0.64s)
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.3.0
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.12.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.3.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.55.5
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.0
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.59.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.2.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin SwiftLintCommandPlugin
[3/3] Compiling plugin SwiftLintBuildToolPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/8] 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) }
[8/8] 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! (141.27s)
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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.