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.0 for Linux on 31 Oct 2024 02:29:23 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/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:  $PWD
https://github.com/to4iki/Reader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/orta/Komondor.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/typelift/SwiftCheck.git
[1/509] Fetching komondor
[510/5379] Fetching komondor, swiftcheck
[5380/50360] Fetching komondor, swiftcheck, swiftformat
Fetched https://github.com/orta/Komondor.git from cache (19.39s)
Fetched https://github.com/typelift/SwiftCheck.git from cache (19.39s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (20.02s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.12.0 (1.82s)
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.18s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.42s)
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[82/12383] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (0.64s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.42s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (0.43s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/f-meloni/Rocket
[1/960] Fetching shellout
[577/1540] Fetching shellout, packageconfig
[1541/2926] Fetching shellout, packageconfig, rocket
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.23s)
Fetched https://github.com/f-meloni/Rocket from cache (0.23s)
[1/141175] Fetching swiftlint
Fetched https://github.com/shibapm/PackageConfig.git from cache (24.88s)
Fetched https://github.com/Realm/SwiftLint.git from cache (25.99s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (0.42s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/kareman/SwiftShell
[1/116] Fetching logger
[117/4979] Fetching logger, swiftshell
Fetched https://github.com/shibapm/Logger from cache (0.17s)
[1703/4863] Fetching swiftshell
[4864/14765] Fetching swiftshell, yams
Fetched https://github.com/kareman/SwiftShell from cache (0.28s)
[892/9902] Fetching yams
Fetched https://github.com/jpsim/Yams from cache (1.91s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (4.73s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.41s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.41s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.42s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.39s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.57.0 (0.42s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/929] Fetching swiftytexttable
[930/1012] Fetching swiftytexttable, collectionconcurrencykit
[1013/13715] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.21s)
[211/12786] Fetching collectionconcurrencykit, cryptoswift
[974/28802] Fetching collectionconcurrencykit, cryptoswift, sourcekitten
[26263/95105] Fetching collectionconcurrencykit, cryptoswift, sourcekitten, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (3.75s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (3.77s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.78s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.79s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.42s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.76s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.42s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.24s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.41s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.43s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.54.6 (0.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0-prerelease-2024-08-14 (0.55s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.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/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.12.0
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/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.57.0
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.35.0
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0-prerelease-2024-08-14
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.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.2.6
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.54.6
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin SwiftLintBuildToolPlugin
[4/4] Compiling plugin SwiftLintCommandPlugin
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! (85.06s)
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.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.