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 LocalizationToolkitObjectMapper, reference v1.0.1 (19515a), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 17:58:44 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Digipolitan/localization-toolkit-object-mapper
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 19515a4 Merge branch 'release/1.0.1'
Cloned https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Revision (git rev-parse @):
19515a4ddc1a218fc93579b8e021dccbf5d09d16
SUCCESS checkout https://github.com/Digipolitan/localization-toolkit-object-mapper.git at v1.0.1
Fetching https://github.com/Hearst-DD/ObjectMapper.git
Fetching https://github.com/Digipolitan/localization-toolkit.git
[1/467] Fetching localization-toolkit
[412/6800] Fetching localization-toolkit, objectmapper
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (1.21s)
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (1.21s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (2.64s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (2.63s)
Creating working copy for https://github.com/Hearst-DD/ObjectMapper.git
Working copy of https://github.com/Hearst-DD/ObjectMapper.git resolved at 3.5.3
Creating working copy for https://github.com/Digipolitan/localization-toolkit.git
Working copy of https://github.com/Digipolitan/localization-toolkit.git resolved at 1.3.0
========================================
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": "localization-toolkit-object-mapper",
      "name": "LocalizationToolkitObjectMapper",
      "url": "https://github.com/Digipolitan/localization-toolkit-object-mapper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/localization-toolkit-object-mapper",
      "dependencies": [
        {
          "identity": "localization-toolkit",
          "name": "LocalizationToolkit",
          "url": "https://github.com/Digipolitan/localization-toolkit.git",
          "version": "1.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/localization-toolkit",
          "dependencies": [
          ]
        },
        {
          "identity": "objectmapper",
          "name": "ObjectMapper",
          "url": "https://github.com/Hearst-DD/ObjectMapper.git",
          "version": "3.5.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ObjectMapper",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Digipolitan/localization-toolkit-object-mapper.git
[1/174] Fetching localization-toolkit-object-mapper
Fetched https://github.com/Digipolitan/localization-toolkit-object-mapper.git from cache (0.68s)
Fetching https://github.com/Hearst-DD/ObjectMapper.git from cache
Fetching https://github.com/Digipolitan/localization-toolkit.git from cache
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (0.61s)
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (0.61s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (0.02s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (0.04s)
Creating working copy for https://github.com/Digipolitan/localization-toolkit.git
Working copy of https://github.com/Digipolitan/localization-toolkit.git resolved at 1.3.0
Creating working copy for https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Working copy of https://github.com/Digipolitan/localization-toolkit-object-mapper.git resolved at v1.0.1 (19515a4)
Creating working copy for https://github.com/Hearst-DD/ObjectMapper.git
Working copy of https://github.com/Hearst-DD/ObjectMapper.git resolved at 3.5.3
warning: '.resolve-product-dependencies': dependency 'localization-toolkit-object-mapper' is not used by any target
Found 2 product dependencies
  - LocalizationToolkit
  - ObjectMapper
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Digipolitan/localization-toolkit-object-mapper.git
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/32] Emitting module ObjectMapper
[6/34] Compiling LocalizationToolkit Localization.swift
[7/34] Compiling LocalizationToolkit MultilingualString.swift
[8/34] Compiling LocalizationToolkit Bundle+Localization.swift
[9/34] Emitting module LocalizationToolkit
[10/34] Compiling LocalizationToolkit String+Localization.swift
[11/34] Compiling ObjectMapper CodableTransform.swift
[12/34] Compiling ObjectMapper CustomDateFormatTransform.swift
[13/34] Compiling ObjectMapper DataTransform.swift
[14/34] Compiling ObjectMapper TransformType.swift
[15/34] Compiling ObjectMapper URLTransform.swift
[16/34] Compiling ObjectMapper Operators.swift
[17/34] Compiling ObjectMapper ToJSON.swift
[18/34] Compiling ObjectMapper MapError.swift
[19/34] Compiling ObjectMapper Mappable.swift
[20/34] Compiling ObjectMapper DateFormatterTransform.swift
[21/34] Compiling ObjectMapper DateTransform.swift
[22/34] Compiling ObjectMapper DictionaryTransform.swift
[23/34] Compiling ObjectMapper EnumOperators.swift
[24/34] Compiling ObjectMapper EnumTransform.swift
[25/34] Compiling ObjectMapper FromJSON.swift
[26/34] Compiling ObjectMapper TransformOf.swift
[27/34] Compiling ObjectMapper TransformOperators.swift
[28/34] Compiling ObjectMapper Mapper.swift
[29/34] Compiling ObjectMapper NSDecimalNumberTransform.swift
[30/34] Compiling ObjectMapper HexColorTransform.swift
[31/34] Compiling ObjectMapper ISO8601DateTransform.swift
[32/34] Compiling ObjectMapper ImmutableMappable.swift
[33/34] Compiling ObjectMapper IntegerOperators.swift
[34/34] Compiling ObjectMapper Map.swift
[35/36] Emitting module LocalizationToolkitObjectMapper
/Users/admin/builder/spi-builder-workspace/Sources/LocalizationToolkitObjectMapper/MultilingualStringTransform.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' may have shared mutable state; this is an error in the Swift 6 language mode
 2 | import ObjectMapper
 3 |
 4 | public class MultilingualStringTransform: TransformType {
   |              `- note: class 'MultilingualStringTransform' does not conform to the 'Sendable' protocol
 5 |
 6 |     public typealias Object = MultilingualString
 7 |     public typealias JSON = String
 8 |
 9 |     public static let shared = MultilingualStringTransform()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
10 |
11 |     private init() { }
[36/36] Compiling LocalizationToolkitObjectMapper MultilingualStringTransform.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocalizationToolkitObjectMapper/MultilingualStringTransform.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' may have shared mutable state; this is an error in the Swift 6 language mode
 2 | import ObjectMapper
 3 |
 4 | public class MultilingualStringTransform: TransformType {
   |              `- note: class 'MultilingualStringTransform' does not conform to the 'Sendable' protocol
 5 |
 6 |     public typealias Object = MultilingualString
 7 |     public typealias JSON = String
 8 |
 9 |     public static let shared = MultilingualStringTransform()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
10 |
11 |     private init() { }
Build complete! (16.75s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "localization-toolkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Digipolitan/localization-toolkit.git"
    },
    {
      "identity" : "objectmapper",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Hearst-DD/ObjectMapper.git"
    }
  ],
  "manifest_display_name" : "LocalizationToolkitObjectMapper",
  "name" : "LocalizationToolkitObjectMapper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LocalizationToolkitObjectMapper",
      "targets" : [
        "LocalizationToolkitObjectMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LocalizationToolkitObjectMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "LocalizationToolkitObjectMapperTests",
      "path" : "Tests/LocalizationToolkitObjectMapperTests",
      "sources" : [
        "LocalizationToolkitObjectMapperTests.swift",
        "Model.swift"
      ],
      "target_dependencies" : [
        "LocalizationToolkitObjectMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocalizationToolkitObjectMapper",
      "module_type" : "SwiftTarget",
      "name" : "LocalizationToolkitObjectMapper",
      "path" : "Sources/LocalizationToolkitObjectMapper",
      "product_dependencies" : [
        "LocalizationToolkit",
        "ObjectMapper"
      ],
      "product_memberships" : [
        "LocalizationToolkitObjectMapper"
      ],
      "sources" : [
        "MultilingualStringTransform.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.