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 SwiftBeanCountCompassCardMapper, reference main (069163), with Swift 6.1 for Wasm on 3 Jun 2025 11:33:04 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/Nef10/SwiftBeanCountCompassCardMapper.git
Reference: main
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/Nef10/SwiftBeanCountCompassCardMapper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0691635 Bump SwiftLint to 0.59.1
Cloned https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
Revision (git rev-parse @):
06916350f9bf341ea66909b6e778cde5b4b927e1
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountparserutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParserUtils.git"
    },
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "csv.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yaslab/CSV.swift.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountCompassCardMapper",
  "name" : "SwiftBeanCountCompassCardMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountCompassCardMapper",
      "targets" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountCompassCardMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapperTests",
      "path" : "Tests/SwiftBeanCountCompassCardMapperTests",
      "sources" : [
        "SwiftBeanCountCompassCardMapperErrorTests.swift",
        "SwiftBeanCountCompassCardMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountCompassCardMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapper",
      "path" : "Sources/SwiftBeanCountCompassCardMapper",
      "product_dependencies" : [
        "SwiftBeanCountParserUtils",
        "SwiftBeanCountModel",
        "CSV"
      ],
      "product_memberships" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "sources" : [
        "SwiftBeanCountCompassCardMapper.swift",
        "SwiftBeanCountCompassCardMapperError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git
Fetching https://github.com/yaslab/CSV.swift.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
[1/896] Fetching swiftbeancountparserutils
[897/2729] Fetching swiftbeancountparserutils, csv.swift
[898/6089] Fetching swiftbeancountparserutils, csv.swift, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (0.80s)
Fetched https://github.com/yaslab/CSV.swift.git from cache (0.82s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.82s)
Computing version for https://github.com/yaslab/CSV.swift.git
Computed https://github.com/yaslab/CSV.swift.git at 2.5.2 (1.37s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.55s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.71s)
Creating working copy for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Working copy of https://github.com/Nef10/SwiftBeanCountParserUtils.git resolved at 1.0.0
Creating working copy for https://github.com/yaslab/CSV.swift.git
Working copy of https://github.com/yaslab/CSV.swift.git resolved at 2.5.2
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/33] Emitting module SwiftBeanCountModel
[7/35] Emitting module CSV
[8/36] Compiling CSV UnicodeIterator.swift
[9/36] Compiling CSV Endian.swift
[10/36] Compiling CSV Legacy.swift
[11/36] Compiling SwiftBeanCountModel Account.swift
[12/36] Compiling SwiftBeanCountModel AccountName.swift
[13/36] Compiling SwiftBeanCountModel Amount.swift
[14/36] Compiling SwiftBeanCountModel Balance.swift
[15/36] Compiling SwiftBeanCountModel Commodity.swift
[16/36] Compiling SwiftBeanCountModel Cost.swift
[17/36] Compiling SwiftBeanCountModel TransactionPosting.swift
[18/36] Compiling SwiftBeanCountModel ValidationResult.swift
[19/36] Compiling CSV CSVWriter.swift
[20/36] Compiling SwiftBeanCountModel Transaction.swift
[21/36] Compiling SwiftBeanCountModel TransactionMetaData.swift
[22/36] Compiling SwiftBeanCountModel Price.swift
[23/36] Compiling SwiftBeanCountModel Tag.swift
[24/36] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[25/36] Compiling SwiftBeanCountModel Option.swift
[26/36] Compiling CSV BinaryReader.swift
[27/36] Compiling CSV CSVRowDecoder.swift
[28/36] Emitting module SwiftBeanCountParserUtils
[29/36] Compiling SwiftBeanCountParserUtils String.swift
[30/36] Compiling CSV CSVReader.swift
[31/36] Compiling CSV CSVError.swift
[32/37] Compiling SwiftBeanCountModel Inventory.swift
[33/37] Compiling SwiftBeanCountModel Ledger.swift
[34/37] Compiling SwiftBeanCountModel Custom.swift
[35/37] Compiling SwiftBeanCountModel Event.swift
[36/37] Compiling SwiftBeanCountModel Flag.swift
[40/42] Emitting module SwiftBeanCountCompassCardMapper
/host/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:35:24: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     }
 34 |
 35 |     private static var dateFormatter: DateFormatter = {
    |                        |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |         var dateFormatter = DateFormatter()
 37 |         dateFormatter.dateFormat = "MMM-dd-yyyy hh:mm a"
/host/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:42:24: warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |     }()
 41 |
 42 |     private static var dateFormatterLoadId: DateFormatter = {
    |                        |- warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatterLoadId' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'dateFormatterLoadId' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         var dateFormatter = DateFormatter()
 44 |         dateFormatter.dateFormat = "yyyy-MM-dd-HH-mm"
[41/42] Compiling SwiftBeanCountCompassCardMapper SwiftBeanCountCompassCardMapperError.swift
[42/42] Compiling SwiftBeanCountCompassCardMapper SwiftBeanCountCompassCardMapper.swift
/host/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:35:24: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     }
 34 |
 35 |     private static var dateFormatter: DateFormatter = {
    |                        |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |         var dateFormatter = DateFormatter()
 37 |         dateFormatter.dateFormat = "MMM-dd-yyyy hh:mm a"
/host/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:42:24: warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |     }()
 41 |
 42 |     private static var dateFormatterLoadId: DateFormatter = {
    |                        |- warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatterLoadId' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'dateFormatterLoadId' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         var dateFormatter = DateFormatter()
 44 |         dateFormatter.dateFormat = "yyyy-MM-dd-HH-mm"
Build complete! (20.78s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountparserutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParserUtils.git"
    },
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "csv.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yaslab/CSV.swift.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountCompassCardMapper",
  "name" : "SwiftBeanCountCompassCardMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountCompassCardMapper",
      "targets" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountCompassCardMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapperTests",
      "path" : "Tests/SwiftBeanCountCompassCardMapperTests",
      "sources" : [
        "SwiftBeanCountCompassCardMapperErrorTests.swift",
        "SwiftBeanCountCompassCardMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountCompassCardMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapper",
      "path" : "Sources/SwiftBeanCountCompassCardMapper",
      "product_dependencies" : [
        "SwiftBeanCountParserUtils",
        "SwiftBeanCountModel",
        "CSV"
      ],
      "product_memberships" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "sources" : [
        "SwiftBeanCountCompassCardMapper.swift",
        "SwiftBeanCountCompassCardMapperError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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.