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

Swift 6 data race errors: 3

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/lyft/mapper.git
Reference: master
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/lyft/mapper
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c8f848c Bump version to 10.0.1
Cloned https://github.com/lyft/mapper.git
Revision (git rev-parse @):
c8f848c8a496e8dbfafa4fba5bb44723bacbe853
SUCCESS checkout https://github.com/lyft/mapper.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lyft/mapper.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Mapper Transform.swift
[4/14] Emitting module Mapper
/host/spi-builder-workspace/Sources/MapperError.swift:12:10: warning: associated value 'convertibleError(value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | /// - TypeMismatchError:    Thrown when the key exists in the JSON, but does not match the expected type
11 | public enum MapperError: Error {
12 |     case convertibleError(value: Any?, type: Any.Type)
   |          `- warning: associated value 'convertibleError(value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 |     case customError(field: String?, message: String)
14 |     case invalidRawValueError(field: String, value: Any, type: Any.Type)
/host/spi-builder-workspace/Sources/MapperError.swift:14:10: warning: associated value 'invalidRawValueError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     case convertibleError(value: Any?, type: Any.Type)
13 |     case customError(field: String?, message: String)
14 |     case invalidRawValueError(field: String, value: Any, type: Any.Type)
   |          `- warning: associated value 'invalidRawValueError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 |     case missingFieldError(field: String)
16 |     case typeMismatchError(field: String, value: Any, type: Any.Type)
/host/spi-builder-workspace/Sources/MapperError.swift:16:10: warning: associated value 'typeMismatchError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 |     case invalidRawValueError(field: String, value: Any, type: Any.Type)
15 |     case missingFieldError(field: String)
16 |     case typeMismatchError(field: String, value: Any, type: Any.Type)
   |          `- warning: associated value 'typeMismatchError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | }
18 |
[5/14] Compiling Mapper URL+Convertible.swift
[6/14] Compiling Mapper Mappable.swift
[7/14] Compiling Mapper Mapper.swift
[8/14] Compiling Mapper NSDictionary+Safety.swift
[9/14] Compiling Mapper Transform+Dictionary.swift
[10/14] Compiling Mapper MapperError.swift
/host/spi-builder-workspace/Sources/MapperError.swift:12:10: warning: associated value 'convertibleError(value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | /// - TypeMismatchError:    Thrown when the key exists in the JSON, but does not match the expected type
11 | public enum MapperError: Error {
12 |     case convertibleError(value: Any?, type: Any.Type)
   |          `- warning: associated value 'convertibleError(value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 |     case customError(field: String?, message: String)
14 |     case invalidRawValueError(field: String, value: Any, type: Any.Type)
/host/spi-builder-workspace/Sources/MapperError.swift:14:10: warning: associated value 'invalidRawValueError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     case convertibleError(value: Any?, type: Any.Type)
13 |     case customError(field: String?, message: String)
14 |     case invalidRawValueError(field: String, value: Any, type: Any.Type)
   |          `- warning: associated value 'invalidRawValueError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 |     case missingFieldError(field: String)
16 |     case typeMismatchError(field: String, value: Any, type: Any.Type)
/host/spi-builder-workspace/Sources/MapperError.swift:16:10: warning: associated value 'typeMismatchError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 |     case invalidRawValueError(field: String, value: Any, type: Any.Type)
15 |     case missingFieldError(field: String)
16 |     case typeMismatchError(field: String, value: Any, type: Any.Type)
   |          `- warning: associated value 'typeMismatchError(field:value:type:)' of 'Sendable'-conforming enum 'MapperError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | }
18 |
[11/14] Compiling Mapper Defaults+Convertible.swift
[12/14] Compiling Mapper Float+Convertible.swift
[13/14] Compiling Mapper Convertible.swift
[14/14] Compiling Mapper DefaultConvertible.swift
Build complete! (13.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mapper",
  "name" : "Mapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Mapper",
      "targets" : [
        "Mapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MapperTests",
      "module_type" : "SwiftTarget",
      "name" : "MapperTests",
      "path" : "Tests/MapperTests",
      "sources" : [
        "ConvertibleValueTests.swift",
        "CustomTransformationTests.swift",
        "ErrorTests.swift",
        "InitializerTests.swift",
        "JSONSerializationIntegrationTests.swift",
        "MappableValueTests.swift",
        "NormalValueTests.swift",
        "OptionalValueTests.swift",
        "RawRepresentibleValueTests.swift",
        "TransformTests.swift"
      ],
      "target_dependencies" : [
        "Mapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mapper",
      "module_type" : "SwiftTarget",
      "name" : "Mapper",
      "path" : "Sources",
      "product_memberships" : [
        "Mapper"
      ],
      "sources" : [
        "Convertible.swift",
        "DefaultConvertible.swift",
        "Defaults+Convertible.swift",
        "Float+Convertible.swift",
        "Mappable.swift",
        "Mapper.swift",
        "MapperError.swift",
        "NSDictionary+Safety.swift",
        "Transform+Dictionary.swift",
        "Transform.swift",
        "URL+Convertible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.