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 Mappable with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 2

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/leavez/Mappable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leavez/Mappable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6db81dc bump version
Cloned https://github.com/leavez/Mappable.git
Revision (git rev-parse @):
6db81dc7e70cf73bf9a122ed359f16d1b90606cb
SUCCESS checkout https://github.com/leavez/Mappable.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/leavez/Mappable.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/10] Compiling Mappable Misc.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mappable/Misc.swift:15:10: warning: associated value 'cannotCast' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 |     case JSONParseError(String) // JSON string
14 |     case valueNonExisted(String) // keyPath
15 |     case cannotCast(Any?, String) // value, toType
   |          `- warning: associated value 'cannotCast' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
16 |     case JSONStructureNotMatchDesired(Any?, String) // value, pattern
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Mappable/Misc.swift:16:10: warning: associated value 'JSONStructureNotMatchDesired' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 |     case valueNonExisted(String) // keyPath
15 |     case cannotCast(Any?, String) // value, toType
16 |     case JSONStructureNotMatchDesired(Any?, String) // value, pattern
   |          `- warning: associated value 'JSONStructureNotMatchDesired' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 |
18 | }
[4/10] Compiling Mappable Mappable.swift
[5/10] Compiling Mappable Mappable+BasicType.swift
[6/10] Compiling Mappable Mappable+Enum.swift
[7/10] Compiling Mappable Mappable+ContainerType.swift
[8/10] Compiling Mappable JSON.swift
[9/10] Emitting module Mappable
/Users/admin/builder/spi-builder-workspace/Sources/Mappable/Misc.swift:15:10: warning: associated value 'cannotCast' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 |     case JSONParseError(String) // JSON string
14 |     case valueNonExisted(String) // keyPath
15 |     case cannotCast(Any?, String) // value, toType
   |          `- warning: associated value 'cannotCast' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
16 |     case JSONStructureNotMatchDesired(Any?, String) // value, pattern
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Mappable/Misc.swift:16:10: warning: associated value 'JSONStructureNotMatchDesired' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 |     case valueNonExisted(String) // keyPath
15 |     case cannotCast(Any?, String) // value, toType
16 |     case JSONStructureNotMatchDesired(Any?, String) // value, pattern
   |          `- warning: associated value 'JSONStructureNotMatchDesired' of 'Sendable'-conforming enum 'ErrorType' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 |
18 | }
[10/10] Compiling Mappable Mapper.swift
Build complete! (19.48s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mappable",
  "name" : "Mappable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Mappable",
      "targets" : [
        "Mappable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MappableTests",
      "module_type" : "SwiftTarget",
      "name" : "MappableTests",
      "path" : "Tests/MappableTests",
      "sources" : [
        "BasicTypesTest/BaseTest.swift",
        "BasicTypesTest/BasicTypeTest.swift",
        "BasicTypesTest/EnumTest.swift",
        "CollectionTypesTest/ArrayTests.swift",
        "CollectionTypesTest/DictionaryTest.swift",
        "CollectionTypesTest/OptionalTest.swift",
        "CollectionTypesTest/SetTest.swift",
        "MapperTests.swift",
        "MiscTest.swift",
        "OmniTest/DefaultValueTest.swift",
        "OmniTest/InheritanceTest.swift",
        "OmniTest/NestKeyPathTest.swift",
        "OmniTest/OmniTest.swift"
      ],
      "target_dependencies" : [
        "Mappable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mappable",
      "module_type" : "SwiftTarget",
      "name" : "Mappable",
      "path" : "Sources/Mappable",
      "product_memberships" : [
        "Mappable"
      ],
      "sources" : [
        "JSON.swift",
        "Mappable+BasicType.swift",
        "Mappable+ContainerType.swift",
        "Mappable+Enum.swift",
        "Mappable.swift",
        "Mapper.swift",
        "Misc.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.