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 v0.0.3 (db1a30), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 21:30:34 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountTangerineMapper.git
Reference: v0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/SwiftBeanCountTangerineMapper
 * tag               v0.0.3     -> FETCH_HEAD
HEAD is now at db1a30b SwiftLint: ignore Protocol Buffer files
Cloned https://github.com/Nef10/SwiftBeanCountTangerineMapper.git
Revision (git rev-parse @):
db1a30b42d0e7c57ff5e69e86552646a6eee5216
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountTangerineMapper.git at v0.0.3
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git
[1/837] Fetching swiftbeancountparserutils
[361/4104] Fetching swiftbeancountparserutils, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (1.31s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (1.31s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.56s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.53s)
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/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftbeancounttangerinemapper",
      "name": "SwiftBeanCountTangerineMapper",
      "url": "https://github.com/Nef10/SwiftBeanCountTangerineMapper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountTangerineMapper",
      "dependencies": [
        {
          "identity": "swiftbeancountparserutils",
          "name": "SwiftBeanCountParserUtils",
          "url": "https://github.com/Nef10/SwiftBeanCountParserUtils.git",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountParserUtils",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftbeancountmodel",
          "name": "SwiftBeanCountModel",
          "url": "https://github.com/Nef10/SwiftBeanCountModel.git",
          "version": "0.1.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountModel",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Nef10/SwiftBeanCountTangerineMapper.git
[1/622] Fetching swiftbeancounttangerinemapper
Fetched https://github.com/Nef10/SwiftBeanCountTangerineMapper.git from cache (1.04s)
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountModel.git from cache
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (0.57s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.57s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.02s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.02s)
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/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/SwiftBeanCountTangerineMapper.git
Working copy of https://github.com/Nef10/SwiftBeanCountTangerineMapper.git resolved at v0.0.3 (db1a30b)
warning: '.resolve-product-dependencies': dependency 'swiftbeancounttangerinemapper' is not used by any target
Found 2 product dependencies
  - SwiftBeanCountParserUtils
  - SwiftBeanCountModel
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountTangerineMapper.git
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/25] Compiling SwiftBeanCountParserUtils String.swift
[6/25] Emitting module SwiftBeanCountParserUtils
[7/25] Compiling SwiftBeanCountModel Ledger.swift
[8/25] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[9/25] Compiling SwiftBeanCountModel Option.swift
[10/25] Compiling SwiftBeanCountModel Price.swift
[11/26] Compiling SwiftBeanCountModel Flag.swift
[12/26] Compiling SwiftBeanCountModel Inventory.swift
[13/26] Compiling SwiftBeanCountModel TransactionMetaData.swift
[14/26] Compiling SwiftBeanCountModel TransactionPosting.swift
[15/26] Compiling SwiftBeanCountModel Custom.swift
[16/26] Compiling SwiftBeanCountModel Event.swift
[17/26] Compiling SwiftBeanCountModel Tag.swift
[18/26] Compiling SwiftBeanCountModel Transaction.swift
[19/26] Compiling SwiftBeanCountModel Commodity.swift
[20/26] Compiling SwiftBeanCountModel Cost.swift
[21/26] Compiling SwiftBeanCountModel Account.swift
[22/26] Compiling SwiftBeanCountModel AccountName.swift
[23/26] Emitting module SwiftBeanCountModel
[24/26] Compiling SwiftBeanCountModel Amount.swift
[25/26] Compiling SwiftBeanCountModel Balance.swift
[26/26] Compiling SwiftBeanCountModel ValidationResult.swift
[27/29] Compiling SwiftBeanCountTangerineMapper SwiftBeanCountTangerineMapperError.swift
[28/29] Compiling SwiftBeanCountTangerineMapper SwiftBeanCountTangerineMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountTangerineMapper/SwiftBeanCountTangerineMapper.swift:17: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
 15 |     }
 16 |
 17 |     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
 18 |         var dateFormatter = DateFormatter()
 19 |         dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
[29/29] Emitting module SwiftBeanCountTangerineMapper
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountTangerineMapper/SwiftBeanCountTangerineMapper.swift:17: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
 15 |     }
 16 |
 17 |     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
 18 |         var dateFormatter = DateFormatter()
 19 |         dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
Build complete! (22.81s)
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" : "/Users/admin/builder/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"
}
Done.