This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Reference: develop
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/Digipolitan/localization-toolkit-object-mapper
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 782edee Merge branch 'release/1.0.1' into develop
Cloned https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Revision (git rev-parse @):
782edee3a9c83be736a9c824fa67ebdd2df33b44
SUCCESS checkout https://github.com/Digipolitan/localization-toolkit-object-mapper.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1
Fetching https://github.com/Digipolitan/localization-toolkit.git
Fetching https://github.com/Hearst-DD/ObjectMapper.git
[1/467] Fetching localization-toolkit
[305/6799] Fetching localization-toolkit, objectmapper
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (0.36s)
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (0.36s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (1.06s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (1.05s)
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/31] Emitting module ObjectMapper
[6/34] Compiling ObjectMapper TransformOperators.swift
[7/34] Compiling ObjectMapper TransformType.swift
[8/34] Compiling ObjectMapper URLTransform.swift
[9/34] Compiling ObjectMapper EnumOperators.swift
[10/34] Compiling ObjectMapper EnumTransform.swift
[11/34] Compiling ObjectMapper FromJSON.swift
[12/34] Compiling ObjectMapper IntegerOperators.swift
[13/34] Compiling ObjectMapper Map.swift
[14/34] Compiling ObjectMapper MapError.swift
[15/34] Compiling ObjectMapper HexColorTransform.swift
[16/34] Compiling ObjectMapper ISO8601DateTransform.swift
[17/34] Compiling ObjectMapper ImmutableMappable.swift
[18/34] Compiling ObjectMapper CodableTransform.swift
[19/34] Compiling ObjectMapper CustomDateFormatTransform.swift
[20/34] Compiling ObjectMapper DataTransform.swift
[21/34] Compiling ObjectMapper DateFormatterTransform.swift
[22/34] Compiling ObjectMapper DateTransform.swift
[23/34] Compiling ObjectMapper DictionaryTransform.swift
[24/34] Compiling ObjectMapper Operators.swift
[25/34] Compiling ObjectMapper ToJSON.swift
[26/34] Compiling ObjectMapper TransformOf.swift
[27/34] Compiling LocalizationToolkit String+Localization.swift
[28/34] Compiling LocalizationToolkit MultilingualString.swift
[29/34] Compiling ObjectMapper Mappable.swift
[30/34] Compiling ObjectMapper Mapper.swift
[31/34] Compiling ObjectMapper NSDecimalNumberTransform.swift
[32/35] Compiling LocalizationToolkit Localization.swift
[33/35] Emitting module LocalizationToolkit
[34/35] Compiling LocalizationToolkit Bundle+Localization.swift
[37/38] Compiling LocalizationToolkitObjectMapper MultilingualStringTransform.swift
/host/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() { }
[38/38] Emitting module LocalizationToolkitObjectMapper
/host/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! (18.50s)
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" : "/host/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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.