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 macOS (SPM).

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lyft/mapper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/13] Compiling Mapper Transform.swift
[4/13] Compiling Mapper NSDictionary+Safety.swift
[5/13] Compiling Mapper MapperError.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
[6/13] Compiling Mapper Transform+Dictionary.swift
[7/14] Compiling Mapper Float+Convertible.swift
[8/14] Compiling Mapper Mapper.swift
[9/14] Compiling Mapper Defaults+Convertible.swift
[10/14] Emitting module Mapper
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 Mappable.swift
[12/14] Compiling Mapper Convertible.swift
[13/14] Compiling Mapper DefaultConvertible.swift
[14/14] Compiling Mapper URL+Convertible.swift
Build complete! (20.45s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mapper",
  "name" : "Mapper",
  "path" : "/Users/admin/builder/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.