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 SwiftCSV, reference 0.10.0 (6ab5d0), with Swift 6.0 for Linux on 1 Dec 2024 01:35:16 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftcsv/SwiftCSV.git
Reference: 0.10.0
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/swiftcsv/SwiftCSV
 * tag               0.10.0     -> FETCH_HEAD
HEAD is now at 6ab5d0f bump version to 0.10.0
Cloned https://github.com/swiftcsv/SwiftCSV.git
Revision (git rev-parse @):
6ab5d0fe9b6ef3c79d717eefa70862df389e74d9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftcsv/SwiftCSV.git at 0.10.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swiftcsv/SwiftCSV.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 -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.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
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftCSV String+Lines.swift
[5/14] Compiling SwiftCSV NamedCSVView.swift
[6/14] Compiling SwiftCSV CSVDelimiter.swift
[7/14] Compiling SwiftCSV EnumeratedCSVView.swift
[8/14] Emitting module SwiftCSV
/host/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 |     public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
   |                       |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'recognized' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/host/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
   |             `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 |     public typealias UnicodeScalarLiteralType = Character
[9/14] Compiling SwiftCSV CSV+DelimiterGuessing.swift
/host/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 |     public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
   |                       |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'recognized' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/host/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
   |             `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 |     public typealias UnicodeScalarLiteralType = Character
[10/14] Compiling SwiftCSV CSV.swift
/host/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 |     public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
   |                       |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'recognized' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/host/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
   |             `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 |     public typealias UnicodeScalarLiteralType = Character
[11/14] Compiling SwiftCSV Parser.swift
[12/14] Compiling SwiftCSV ParsingState.swift
[13/14] Compiling SwiftCSV Serializer.swift
[14/14] Compiling SwiftCSV resource_bundle_accessor.swift
Build complete! (12.52s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCSV",
  "name" : "SwiftCSV",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCSV",
      "targets" : [
        "SwiftCSV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "SwiftCSVTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCSVTests",
      "path" : "SwiftCSVTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/SwiftCSVTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CSVDelimiterGuessingTests.swift",
        "CSVDelimiterTests.swift",
        "EnumeratedCSVViewTests.swift",
        "NamedCSVViewTests.swift",
        "NewlineTests.swift",
        "ParserTests.swift",
        "PerformanceTest.swift",
        "QuotedTests.swift",
        "ResourceHelper.swift",
        "TSVTests.swift",
        "URLTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCSV"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCSV",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCSV",
      "path" : "SwiftCSV",
      "product_memberships" : [
        "SwiftCSV"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/SwiftCSV/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CSV+DelimiterGuessing.swift",
        "CSV.swift",
        "CSVDelimiter.swift",
        "EnumeratedCSVView.swift",
        "NamedCSVView.swift",
        "Parser.swift",
        "ParsingState.swift",
        "Serializer.swift",
        "String+Lines.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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.