The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Himotoki, reference master (58736b), with Swift 6.1 for Wasm on 27 May 2025 13:11:55 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/ikesyo/Himotoki.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/ikesyo/Himotoki
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 58736bd Release 4.0.0
Submodule path 'Carthage/Checkouts/xcconfigs': checked out '8ed0ba267f6fb0b53343e11aad067314438a781c'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Cloned https://github.com/ikesyo/Himotoki.git
Revision (git rev-parse @):
58736bd328e218b4080b034d19211f0263e29b45
SUCCESS checkout https://github.com/ikesyo/Himotoki.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ikesyo/Himotoki.git
https://github.com/ikesyo/Himotoki.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Himotoki",
  "name" : "Himotoki",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Himotoki",
      "targets" : [
        "Himotoki"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "HimotokiTests",
      "module_type" : "SwiftTarget",
      "name" : "HimotokiTests",
      "path" : "Tests/HimotokiTests",
      "sources" : [
        "DecodableTest.swift",
        "DecodeErrorTest.swift",
        "DecodeWithRootKeyPathTest.swift",
        "KeyPathTest.swift",
        "NestedObjectParsingTest.swift",
        "RawRepresentableTest.swift",
        "TransformerTest.swift"
      ],
      "target_dependencies" : [
        "Himotoki"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Himotoki",
      "module_type" : "SwiftTarget",
      "name" : "Himotoki",
      "path" : "Sources",
      "product_memberships" : [
        "Himotoki"
      ],
      "sources" : [
        "Casting.swift",
        "Decodable.swift",
        "DecodeError.swift",
        "Extractor.swift",
        "KeyPath.swift",
        "NSNumber.swift",
        "Operators.swift",
        "RawRepresentable.swift",
        "StandardLib.swift",
        "Transformer.swift",
        "decode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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 Himotoki RawRepresentable.swift
[4/14] Compiling Himotoki StandardLib.swift
[5/14] Compiling Himotoki Transformer.swift
[6/14] Compiling Himotoki decode.swift
[7/14] Emitting module Himotoki
/host/spi-builder-workspace/Sources/DecodeError.swift:10:10: warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
   |          `- warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
12 |     case custom(String)
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/DecodeError.swift:11:10: warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
   |          `- warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
12 |     case custom(String)
13 | }
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/KeyPath.swift:20:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
   :
18 |     }
19 |
20 |     public static let empty: KeyPath = KeyPath([])
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[8/14] Compiling Himotoki Casting.swift
[9/14] Compiling Himotoki Decodable.swift
[10/14] Compiling Himotoki Operators.swift
[11/14] Compiling Himotoki DecodeError.swift
/host/spi-builder-workspace/Sources/DecodeError.swift:10:10: warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
   |          `- warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
12 |     case custom(String)
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/DecodeError.swift:11:10: warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
   |          `- warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
12 |     case custom(String)
13 | }
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
[12/14] Compiling Himotoki Extractor.swift
/host/spi-builder-workspace/Sources/DecodeError.swift:10:10: warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
   |          `- warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
12 |     case custom(String)
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/DecodeError.swift:11:10: warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
   |          `- warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
12 |     case custom(String)
13 | }
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
[13/14] Compiling Himotoki KeyPath.swift
/host/spi-builder-workspace/Sources/KeyPath.swift:20:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
   :
18 |     }
19 |
20 |     public static let empty: KeyPath = KeyPath([])
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[14/14] Compiling Himotoki NSNumber.swift
/host/spi-builder-workspace/Sources/KeyPath.swift:20:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
   :
18 |     }
19 |
20 |     public static let empty: KeyPath = KeyPath([])
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Build complete! (8.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Himotoki",
  "name" : "Himotoki",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Himotoki",
      "targets" : [
        "Himotoki"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "HimotokiTests",
      "module_type" : "SwiftTarget",
      "name" : "HimotokiTests",
      "path" : "Tests/HimotokiTests",
      "sources" : [
        "DecodableTest.swift",
        "DecodeErrorTest.swift",
        "DecodeWithRootKeyPathTest.swift",
        "KeyPathTest.swift",
        "NestedObjectParsingTest.swift",
        "RawRepresentableTest.swift",
        "TransformerTest.swift"
      ],
      "target_dependencies" : [
        "Himotoki"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Himotoki",
      "module_type" : "SwiftTarget",
      "name" : "Himotoki",
      "path" : "Sources",
      "product_memberships" : [
        "Himotoki"
      ],
      "sources" : [
        "Casting.swift",
        "Decodable.swift",
        "DecodeError.swift",
        "Extractor.swift",
        "KeyPath.swift",
        "NSNumber.swift",
        "Operators.swift",
        "RawRepresentable.swift",
        "StandardLib.swift",
        "Transformer.swift",
        "decode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.