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 SwiftBeanCountTangerineMapper, reference main (450605), with Swift 6.0 for Linux on 16 Apr 2025 10:40:30 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 -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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountTangerineMapper.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/SwiftBeanCountTangerineMapper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4506053 Bump swift-actions/setup-swift from 2.2.0 to 2.3.0
Cloned https://github.com/Nef10/SwiftBeanCountTangerineMapper.git
Revision (git rev-parse @):
4506053d06e30b7c1cb4a008bff9a6957159f89c
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountTangerineMapper.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountTangerineMapper.git
https://github.com/Nef10/SwiftBeanCountTangerineMapper.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"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountTangerineMapper",
  "name" : "SwiftBeanCountTangerineMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountTangerineMapper",
      "targets" : [
        "SwiftBeanCountTangerineMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountTangerineMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountTangerineMapperTests",
      "path" : "Tests/SwiftBeanCountTangerineMapperTests",
      "sources" : [
        "SwiftBeanCountTangerineMapperErrorTests.swift",
        "SwiftBeanCountTangerineMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountTangerineMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountTangerineMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountTangerineMapper",
      "path" : "Sources/SwiftBeanCountTangerineMapper",
      "product_dependencies" : [
        "SwiftBeanCountParserUtils",
        "SwiftBeanCountModel"
      ],
      "product_memberships" : [
        "SwiftBeanCountTangerineMapper"
      ],
      "sources" : [
        "SwiftBeanCountTangerineMapper.swift",
        "SwiftBeanCountTangerineMapperError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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 -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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
[1/884] Fetching swiftbeancountparserutils
[885/4232] Fetching swiftbeancountparserutils, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (0.30s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.31s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (1.37s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.75s)
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
Creating working copy for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Working copy of https://github.com/Nef10/SwiftBeanCountParserUtils.git resolved at 1.0.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/24] Emitting module SwiftBeanCountModel
[6/26] Compiling SwiftBeanCountModel TransactionPosting.swift
[7/26] Compiling SwiftBeanCountModel ValidationResult.swift
[8/26] Emitting module SwiftBeanCountParserUtils
[9/26] Compiling SwiftBeanCountParserUtils String.swift
[11/27] Compiling SwiftBeanCountModel Inventory.swift
[12/27] Compiling SwiftBeanCountModel Ledger.swift
[13/27] Compiling SwiftBeanCountModel Transaction.swift
[14/27] Compiling SwiftBeanCountModel TransactionMetaData.swift
[15/27] Compiling SwiftBeanCountModel Price.swift
[16/27] Compiling SwiftBeanCountModel Tag.swift
[17/27] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[18/27] Compiling SwiftBeanCountModel Option.swift
[19/27] Compiling SwiftBeanCountModel Balance.swift
[20/27] Compiling SwiftBeanCountModel Commodity.swift
[21/27] Compiling SwiftBeanCountModel Cost.swift
[22/27] Compiling SwiftBeanCountModel Custom.swift
[23/27] Compiling SwiftBeanCountModel Event.swift
[24/27] Compiling SwiftBeanCountModel Flag.swift
[25/27] Compiling SwiftBeanCountModel Account.swift
[26/27] Compiling SwiftBeanCountModel AccountName.swift
[27/27] Compiling SwiftBeanCountModel Amount.swift
[29/31] Emitting module SwiftBeanCountTangerineMapper
/host/spi-builder-workspace/Sources/SwiftBeanCountTangerineMapper/SwiftBeanCountTangerineMapper.swift:19:24: warning: static property 'dateFormatterTransaction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |     }
 18 |
 19 |     private static var dateFormatterTransaction: DateFormatter = {
    |                        |- warning: static property 'dateFormatterTransaction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatterTransaction' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'dateFormatterTransaction' 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
 20 |         var dateFormatter = DateFormatter()
 21 |         dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
[30/31] Compiling SwiftBeanCountTangerineMapper SwiftBeanCountTangerineMapper.swift
/host/spi-builder-workspace/Sources/SwiftBeanCountTangerineMapper/SwiftBeanCountTangerineMapper.swift:19:24: warning: static property 'dateFormatterTransaction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |     }
 18 |
 19 |     private static var dateFormatterTransaction: DateFormatter = {
    |                        |- warning: static property 'dateFormatterTransaction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatterTransaction' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'dateFormatterTransaction' 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
 20 |         var dateFormatter = DateFormatter()
 21 |         dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
[31/31] Compiling SwiftBeanCountTangerineMapper SwiftBeanCountTangerineMapperError.swift
Build complete! (15.25s)
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"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountTangerineMapper",
  "name" : "SwiftBeanCountTangerineMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountTangerineMapper",
      "targets" : [
        "SwiftBeanCountTangerineMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountTangerineMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountTangerineMapperTests",
      "path" : "Tests/SwiftBeanCountTangerineMapperTests",
      "sources" : [
        "SwiftBeanCountTangerineMapperErrorTests.swift",
        "SwiftBeanCountTangerineMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountTangerineMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountTangerineMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountTangerineMapper",
      "path" : "Sources/SwiftBeanCountTangerineMapper",
      "product_dependencies" : [
        "SwiftBeanCountParserUtils",
        "SwiftBeanCountModel"
      ],
      "product_memberships" : [
        "SwiftBeanCountTangerineMapper"
      ],
      "sources" : [
        "SwiftBeanCountTangerineMapper.swift",
        "SwiftBeanCountTangerineMapperError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.