The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CSV, reference 1.1.2 (e686bb), with Swift 6.1 for Wasm on 28 May 2025 02:26:41 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/csv.git
Reference: 1.1.2
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/skelpo/csv
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at e686bbb Merge pull request #15 from skelpo/serializer-column-length-crash
Cloned https://github.com/skelpo/csv.git
Revision (git rev-parse @):
e686bbb1a1ccc5314e154fce3c7d48937158a07c
SUCCESS checkout https://github.com/skelpo/csv.git at 1.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/skelpo/csv.git
https://github.com/skelpo/csv.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSV",
  "name" : "CSV",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSV",
      "targets" : [
        "CSV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSVTests",
      "module_type" : "SwiftTarget",
      "name" : "CSVTests",
      "path" : "Tests/CSVTests",
      "sources" : [
        "Data.swift",
        "DecoderTests.swift",
        "EncoderTests.swift",
        "ParserTests.swift",
        "SerializerTests.swift",
        "StressTests.swift",
        "UtilityTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CSV"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSV",
      "module_type" : "SwiftTarget",
      "name" : "CSV",
      "path" : "Sources/CSV",
      "product_memberships" : [
        "CSV"
      ],
      "sources" : [
        "Coder/CSVCoder.swift",
        "Coder/CodingOptions.swift",
        "Coder/Data+Number.swift",
        "Coder/Decoder/AsyncDecoder.swift",
        "Coder/Decoder/AsyncKeyedDecoder.swift",
        "Coder/Decoder/AsyncSingleValueDecoder.swift",
        "Coder/Encoder/AsyncEncoder.swift",
        "Coder/Encoder/AsyncKeyedEncoder.swift",
        "Coder/Encoder/AsyncSingleValueEncoder.swift",
        "Coder/Encoder/AsyncUnkeyedEncoder.swift",
        "Config.swift",
        "Parser.swift",
        "Seralizer.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling CSV Seralizer.swift
[4/17] Compiling CSV Utilities.swift
[5/17] Compiling CSV Config.swift
/host/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// to allow for separators other than comma or string delimiters
 6 | /// like quotation marks
 7 | public struct Config {
   |               `- note: consider making struct 'Config' conform to the 'Sendable' protocol
 8 |
 9 |     /// The character that separates one cell from another.
   :
15 |     /// The deault `Config` instance that uses commas for cell separators and double quotes
16 |     /// for cell delimiters.
17 |     public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// Creates a new `Config` instance
[6/17] Compiling CSV Parser.swift
/host/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// to allow for separators other than comma or string delimiters
 6 | /// like quotation marks
 7 | public struct Config {
   |               `- note: consider making struct 'Config' conform to the 'Sendable' protocol
 8 |
 9 |     /// The character that separates one cell from another.
   :
15 |     /// The deault `Config` instance that uses commas for cell separators and double quotes
16 |     /// for cell delimiters.
17 |     public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// Creates a new `Config` instance
[7/17] Compiling CSV AsyncSingleValueEncoder.swift
[8/17] Compiling CSV AsyncUnkeyedEncoder.swift
[9/17] Compiling CSV AsyncKeyedDecoder.swift
[10/17] Compiling CSV AsyncSingleValueDecoder.swift
[11/17] Compiling CSV AsyncEncoder.swift
[12/17] Compiling CSV AsyncKeyedEncoder.swift
[13/17] Emitting module CSV
/host/spi-builder-workspace/Sources/CSV/Coder/CodingOptions.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | /// The options used for encoding/decoding certin types in the `CSVEncoder` and `CSVDecoder`.
  2 | public final class CSVCodingOptions {
    |                    `- note: class 'CSVCodingOptions' does not conform to the 'Sendable' protocol
  3 |
  4 |     /// The default coding options.
    :
  7 |     /// the `NilCodingStrategy`. This means `Bool` will be represented the value's textual name
  8 |     /// and `nil` will be an empty cell.
  9 |     public static let `default` = CSVCodingOptions(boolCodingStrategy: .string, nilCodingStrategy: .blank)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |
 11 |     /// The bool encoding/decoding strategy used for the encoder/decoder the option set is passed to.
/host/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// to allow for separators other than comma or string delimiters
 6 | /// like quotation marks
 7 | public struct Config {
   |               `- note: consider making struct 'Config' conform to the 'Sendable' protocol
 8 |
 9 |     /// The character that separates one cell from another.
   :
15 |     /// The deault `Config` instance that uses commas for cell separators and double quotes
16 |     /// for cell delimiters.
17 |     public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// Creates a new `Config` instance
[14/17] Compiling CSV Data+Number.swift
[15/17] Compiling CSV AsyncDecoder.swift
[16/17] Compiling CSV CSVCoder.swift
/host/spi-builder-workspace/Sources/CSV/Coder/CodingOptions.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | /// The options used for encoding/decoding certin types in the `CSVEncoder` and `CSVDecoder`.
  2 | public final class CSVCodingOptions {
    |                    `- note: class 'CSVCodingOptions' does not conform to the 'Sendable' protocol
  3 |
  4 |     /// The default coding options.
    :
  7 |     /// the `NilCodingStrategy`. This means `Bool` will be represented the value's textual name
  8 |     /// and `nil` will be an empty cell.
  9 |     public static let `default` = CSVCodingOptions(boolCodingStrategy: .string, nilCodingStrategy: .blank)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |
 11 |     /// The bool encoding/decoding strategy used for the encoder/decoder the option set is passed to.
[17/17] Compiling CSV CodingOptions.swift
/host/spi-builder-workspace/Sources/CSV/Coder/CodingOptions.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | /// The options used for encoding/decoding certin types in the `CSVEncoder` and `CSVDecoder`.
  2 | public final class CSVCodingOptions {
    |                    `- note: class 'CSVCodingOptions' does not conform to the 'Sendable' protocol
  3 |
  4 |     /// The default coding options.
    :
  7 |     /// the `NilCodingStrategy`. This means `Bool` will be represented the value's textual name
  8 |     /// and `nil` will be an empty cell.
  9 |     public static let `default` = CSVCodingOptions(boolCodingStrategy: .string, nilCodingStrategy: .blank)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |
 11 |     /// The bool encoding/decoding strategy used for the encoder/decoder the option set is passed to.
Build complete! (6.33s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSV",
  "name" : "CSV",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSV",
      "targets" : [
        "CSV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSVTests",
      "module_type" : "SwiftTarget",
      "name" : "CSVTests",
      "path" : "Tests/CSVTests",
      "sources" : [
        "Data.swift",
        "DecoderTests.swift",
        "EncoderTests.swift",
        "ParserTests.swift",
        "SerializerTests.swift",
        "StressTests.swift",
        "UtilityTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CSV"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSV",
      "module_type" : "SwiftTarget",
      "name" : "CSV",
      "path" : "Sources/CSV",
      "product_memberships" : [
        "CSV"
      ],
      "sources" : [
        "Coder/CSVCoder.swift",
        "Coder/CodingOptions.swift",
        "Coder/Data+Number.swift",
        "Coder/Decoder/AsyncDecoder.swift",
        "Coder/Decoder/AsyncKeyedDecoder.swift",
        "Coder/Decoder/AsyncSingleValueDecoder.swift",
        "Coder/Encoder/AsyncEncoder.swift",
        "Coder/Encoder/AsyncKeyedEncoder.swift",
        "Coder/Encoder/AsyncSingleValueEncoder.swift",
        "Coder/Encoder/AsyncUnkeyedEncoder.swift",
        "Config.swift",
        "Parser.swift",
        "Seralizer.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.