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 Linux on 31 Oct 2024 17:45:54 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 2>&1

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 /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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Digipolitan/localization-toolkit-object-mapper.git
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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Digipolitan/localization-toolkit.git
Fetching https://github.com/Hearst-DD/ObjectMapper.git
[1/467] Fetching localization-toolkit
[468/6800] Fetching localization-toolkit, objectmapper
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (0.30s)
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (0.30s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (1.82s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (1.87s)
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/Hearst-DD/ObjectMapper.git
Working copy of https://github.com/Hearst-DD/ObjectMapper.git resolved at 3.5.3
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/31] Compiling ObjectMapper Operators.swift
[6/31] Compiling ObjectMapper ToJSON.swift
[7/31] Compiling ObjectMapper TransformOf.swift
[8/34] Compiling LocalizationToolkit Bundle+Localization.swift
[9/34] Compiling LocalizationToolkit String+Localization.swift
[10/34] Emitting module ObjectMapper
[11/34] Compiling ObjectMapper Mappable.swift
[12/34] Compiling ObjectMapper Mapper.swift
[13/34] Compiling ObjectMapper NSDecimalNumberTransform.swift
[14/34] Compiling ObjectMapper CodableTransform.swift
[15/34] Compiling ObjectMapper CustomDateFormatTransform.swift
[16/34] Compiling ObjectMapper DataTransform.swift
[17/34] Compiling ObjectMapper DateFormatterTransform.swift
[18/34] Compiling ObjectMapper DateTransform.swift
[19/34] Compiling ObjectMapper DictionaryTransform.swift
[20/34] Compiling ObjectMapper HexColorTransform.swift
[21/34] Compiling ObjectMapper ISO8601DateTransform.swift
[22/34] Compiling ObjectMapper ImmutableMappable.swift
[23/34] Compiling ObjectMapper EnumOperators.swift
[24/34] Compiling ObjectMapper EnumTransform.swift
[25/34] Compiling ObjectMapper FromJSON.swift
[26/34] Compiling ObjectMapper IntegerOperators.swift
[27/34] Compiling ObjectMapper Map.swift
[28/34] Compiling ObjectMapper MapError.swift
[29/34] Emitting module LocalizationToolkit
[30/34] Compiling LocalizationToolkit Localization.swift
[31/34] Compiling LocalizationToolkit MultilingualString.swift
[33/35] Compiling ObjectMapper TransformOperators.swift
[34/35] Compiling ObjectMapper TransformType.swift
[35/35] Compiling ObjectMapper URLTransform.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! (30.12s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.