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 SwiftBeanCountWealthsimpleMapper, reference main (b5c0d1), with Swift 6.0 for Linux on 16 Apr 2025 05:55:15 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.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/SwiftBeanCountWealthsimpleMapper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b5c0d10 Bump swift-actions/setup-swift from 2.2.0 to 2.3.0
Cloned https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git
Revision (git rev-parse @):
b5c0d10c905fcd373087d41e9ff0fd08ad49f5b1
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git
https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "swiftbeancountparserutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParserUtils.git"
    },
    {
      "identity" : "wealthsimpledownloader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/WealthsimpleDownloader.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountWealthsimpleMapper",
  "name" : "SwiftBeanCountWealthsimpleMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountWealthsimpleMapper",
      "targets" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountWealthsimpleMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountWealthsimpleMapperTests",
      "path" : "Tests/SwiftBeanCountWealthsimpleMapperTests",
      "sources" : [
        "Extensions/AmountInitTests.swift",
        "Extensions/StringKebabCaseTests.swift",
        "Extensions/TransactionHelperTests.swift",
        "Extensions/XCTestCase.swift",
        "LedgerLookupTests.swift",
        "TestTransaction.swift",
        "WealthsimpleConversionErrorTests.swift",
        "WealthsimpleLedgerMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountWealthsimpleMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountWealthsimpleMapper",
      "path" : "Sources/SwiftBeanCountWealthsimpleMapper",
      "product_dependencies" : [
        "SwiftBeanCountModel",
        "SwiftBeanCountParserUtils",
        "Wealthsimple"
      ],
      "product_memberships" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "sources" : [
        "Extensions/Amount+init.swift",
        "Extensions/String+KebabCase.swift",
        "Extensions/Wealthsimple.Transaction+Helper.swift",
        "LedgerLookup.swift",
        "MetaDataKeys.swift",
        "WealthsimpleConversionError.swift",
        "WealthsimpleLedgerMapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/WealthsimpleDownloader.git
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git
[1/884] Fetching swiftbeancountparserutils
[885/2787] Fetching swiftbeancountparserutils, wealthsimpledownloader
[1704/6135] Fetching swiftbeancountparserutils, wealthsimpledownloader, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (0.43s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.43s)
Fetched https://github.com/Nef10/WealthsimpleDownloader.git from cache (0.43s)
Computing version for https://github.com/Nef10/WealthsimpleDownloader.git
Computed https://github.com/Nef10/WealthsimpleDownloader.git at 2.0.2 (0.66s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.62s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.62s)
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/WealthsimpleDownloader.git
Working copy of https://github.com/Nef10/WealthsimpleDownloader.git resolved at 2.0.2
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/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/33] Emitting module Wealthsimple
[7/34] Emitting module SwiftBeanCountModel
[8/36] Compiling SwiftBeanCountModel Transaction.swift
[9/36] Compiling SwiftBeanCountModel TransactionMetaData.swift
[10/36] Compiling SwiftBeanCountModel Price.swift
[11/36] Compiling SwiftBeanCountModel Tag.swift
[12/36] Emitting module SwiftBeanCountParserUtils
[13/36] Compiling SwiftBeanCountParserUtils String.swift
[14/37] Compiling Wealthsimple WealthsimpleAsset.swift
[15/37] Compiling SwiftBeanCountModel TransactionPosting.swift
[16/37] Compiling SwiftBeanCountModel ValidationResult.swift
[17/37] Compiling Wealthsimple WealthsimpleTransaction.swift
[19/37] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[20/37] Compiling SwiftBeanCountModel Option.swift
[21/37] Compiling SwiftBeanCountModel Custom.swift
[22/37] Compiling SwiftBeanCountModel Event.swift
[23/37] Compiling SwiftBeanCountModel Flag.swift
[24/37] Compiling SwiftBeanCountModel Account.swift
[25/37] Compiling SwiftBeanCountModel AccountName.swift
[26/37] Compiling SwiftBeanCountModel Amount.swift
[27/37] Compiling SwiftBeanCountModel Inventory.swift
[28/37] Compiling SwiftBeanCountModel Ledger.swift
[29/37] Compiling SwiftBeanCountModel Balance.swift
[30/37] Compiling SwiftBeanCountModel Commodity.swift
[31/37] Compiling SwiftBeanCountModel Cost.swift
[32/37] Compiling Wealthsimple WealthsimpleDownloader.swift
[33/37] Compiling Wealthsimple WealthsimplePosition.swift
[34/38] Compiling Wealthsimple TransactionError.swift
[35/38] Compiling Wealthsimple WealthsimpleAccount.swift
[36/38] Compiling Wealthsimple String+CamelCase.swift
[37/38] Compiling Wealthsimple Token.swift
[40/47] Compiling SwiftBeanCountWealthsimpleMapper Wealthsimple.Transaction+Helper.swift
[41/47] Compiling SwiftBeanCountWealthsimpleMapper MetaDataKeys.swift
[42/47] Compiling SwiftBeanCountWealthsimpleMapper String+KebabCase.swift
[43/47] Emitting module SwiftBeanCountWealthsimpleMapper
/host/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:23:23: warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       `- warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Payee used for fee transactions
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/AccountName.swift:18:15: note: struct 'AccountName' does not conform to the 'Sendable' protocol
 16 |
 17 | /// Struct with represents just the name of an Account
 18 | public struct AccountName: AccountItem {
    |               `- note: struct 'AccountName' does not conform to the 'Sendable' protocol
 19 |
 20 |     /// Full quilified name of the account, e.g. Assets:Cash:CAD
/host/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
  7 |
  8 | import Foundation
  9 | import SwiftBeanCountModel
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 10 | import SwiftBeanCountParserUtils
 11 | import Wealthsimple
    :
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       |- note: annotate 'fallbackExpenseAccountName' 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
 24 |
 25 |     /// Payee used for fee transactions
[44/47] Compiling SwiftBeanCountWealthsimpleMapper Amount+init.swift
[45/47] Compiling SwiftBeanCountWealthsimpleMapper LedgerLookup.swift
/host/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:23:23: warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       `- warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Payee used for fee transactions
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/AccountName.swift:18:15: note: struct 'AccountName' does not conform to the 'Sendable' protocol
 16 |
 17 | /// Struct with represents just the name of an Account
 18 | public struct AccountName: AccountItem {
    |               `- note: struct 'AccountName' does not conform to the 'Sendable' protocol
 19 |
 20 |     /// Full quilified name of the account, e.g. Assets:Cash:CAD
/host/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
  7 |
  8 | import Foundation
  9 | import SwiftBeanCountModel
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 10 | import SwiftBeanCountParserUtils
 11 | import Wealthsimple
    :
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       |- note: annotate 'fallbackExpenseAccountName' 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
 24 |
 25 |     /// Payee used for fee transactions
[46/47] Compiling SwiftBeanCountWealthsimpleMapper WealthsimpleLedgerMapper.swift
/host/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:23:23: warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       `- warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Payee used for fee transactions
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/AccountName.swift:18:15: note: struct 'AccountName' does not conform to the 'Sendable' protocol
 16 |
 17 | /// Struct with represents just the name of an Account
 18 | public struct AccountName: AccountItem {
    |               `- note: struct 'AccountName' does not conform to the 'Sendable' protocol
 19 |
 20 |     /// Full quilified name of the account, e.g. Assets:Cash:CAD
/host/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
  7 |
  8 | import Foundation
  9 | import SwiftBeanCountModel
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 10 | import SwiftBeanCountParserUtils
 11 | import Wealthsimple
    :
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       |- note: annotate 'fallbackExpenseAccountName' 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
 24 |
 25 |     /// Payee used for fee transactions
[47/47] Compiling SwiftBeanCountWealthsimpleMapper WealthsimpleConversionError.swift
Build complete! (25.92s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "swiftbeancountparserutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParserUtils.git"
    },
    {
      "identity" : "wealthsimpledownloader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/WealthsimpleDownloader.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountWealthsimpleMapper",
  "name" : "SwiftBeanCountWealthsimpleMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountWealthsimpleMapper",
      "targets" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountWealthsimpleMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountWealthsimpleMapperTests",
      "path" : "Tests/SwiftBeanCountWealthsimpleMapperTests",
      "sources" : [
        "Extensions/AmountInitTests.swift",
        "Extensions/StringKebabCaseTests.swift",
        "Extensions/TransactionHelperTests.swift",
        "Extensions/XCTestCase.swift",
        "LedgerLookupTests.swift",
        "TestTransaction.swift",
        "WealthsimpleConversionErrorTests.swift",
        "WealthsimpleLedgerMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountWealthsimpleMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountWealthsimpleMapper",
      "path" : "Sources/SwiftBeanCountWealthsimpleMapper",
      "product_dependencies" : [
        "SwiftBeanCountModel",
        "SwiftBeanCountParserUtils",
        "Wealthsimple"
      ],
      "product_memberships" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "sources" : [
        "Extensions/Amount+init.swift",
        "Extensions/String+KebabCase.swift",
        "Extensions/Wealthsimple.Transaction+Helper.swift",
        "LedgerLookup.swift",
        "MetaDataKeys.swift",
        "WealthsimpleConversionError.swift",
        "WealthsimpleLedgerMapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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.