The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Mapper, reference master (c8f848), with Swift 6.1 for Wasm on 27 May 2025 17:53:05 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/lyft/mapper.git
https://github.com/lyft/mapper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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 Convertible.swift
[6/14] Compiling Mapper DefaultConvertible.swift
[7/14] Compiling Mapper URL+Convertible.swift
[8/14] Compiling Mapper NSDictionary+Safety.swift
[9/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 |
[10/14] Compiling Mapper Transform+Dictionary.swift
[11/14] Compiling Mapper Defaults+Convertible.swift
[12/14] Compiling Mapper Float+Convertible.swift
[13/14] Compiling Mapper Mappable.swift
[14/14] Compiling Mapper Mapper.swift
Build complete! (9.52s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.