Build Information
Failed to build Crust, reference master (d63368), with Swift 6.3 for Wasm on 10 Apr 2026 22:51:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rexmas/Crust.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/rexmas/Crust
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d633684 [swift-5.2] update readme
Cloned https://github.com/rexmas/Crust.git
Revision (git rev-parse @):
d6336843b93b8bc0cbfe2c4d452ac49614bb1844
SUCCESS checkout https://github.com/rexmas/Crust.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/rexmas/Crust.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/rexmas/JSONValue.git
[1/652] Fetching jsonvalue
Fetched https://github.com/rexmas/JSONValue.git from cache (0.24s)
Computing version for https://github.com/rexmas/JSONValue.git
Computed https://github.com/rexmas/JSONValue.git at 7.0.0 (1.07s)
Creating working copy for https://github.com/rexmas/JSONValue.git
Working copy of https://github.com/rexmas/JSONValue.git resolved at 7.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling JSONValueRX JSONable.swift
[5/7] Compiling JSONValueRX Utilities.swift
[6/7] Compiling JSONValueRX JSON.swift
[7/7] Emitting module JSONValueRX
[9/15] Compiling Crust AnyAdapter.swift
[10/15] Compiling Crust Utilities.swift
[11/15] Compiling Crust MappingProtocols.swift
[12/15] Compiling Crust MappingKey.swift
/host/spi-builder-workspace/Crust/Mapper/MappingKey.swift:70:35: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 |
62 | /// Like `RootKey` but will use the `nestedMappingKeys` of the internal key.
63 | public struct RootedKey<K: MappingKey>: MappingKey {
| `- note: 'K' previously declared here
64 | public let keyPath = ""
65 | public let rootedKey: K
:
68 | }
69 |
70 | public func nestedMappingKeys<K: MappingKey>() -> AnyKeyCollection<K>? {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | return self.rootedKey.nestedMappingKeys()
72 | }
[13/15] Emitting module Crust
/host/spi-builder-workspace/Crust/Mapper/MappingKey.swift:70:35: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 |
62 | /// Like `RootKey` but will use the `nestedMappingKeys` of the internal key.
63 | public struct RootedKey<K: MappingKey>: MappingKey {
| `- note: 'K' previously declared here
64 | public let keyPath = ""
65 | public let rootedKey: K
:
68 | }
69 |
70 | public func nestedMappingKeys<K: MappingKey>() -> AnyKeyCollection<K>? {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | return self.rootedKey.nestedMappingKeys()
72 | }
/host/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:233:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | }
232 |
233 | private func deconstruct<T, K, M>(binding: Binding<K, M>, fieldType: T.Type) throws -> (key: K, mapping: M) {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
234 | guard case .mapping(let key, let mapping) = binding else {
235 | throw MappingError.bindingDeconstructionFailure(fieldType: fieldType)
/host/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
/host/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:241:26: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | }
240 |
241 | private func resolve<K, M>(keyedBinding: KeyedBinding<K, M>, key: K, inKeys: AnyKeyCollection<K>, mapping: M) throws -> ResolvedBinding<K, M> {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
242 | switch self.dir {
243 | case .toJSON:
/host/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
[14/15] Compiling Crust MappingOperator.swift
/host/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:233:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | }
232 |
233 | private func deconstruct<T, K, M>(binding: Binding<K, M>, fieldType: T.Type) throws -> (key: K, mapping: M) {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
234 | guard case .mapping(let key, let mapping) = binding else {
235 | throw MappingError.bindingDeconstructionFailure(fieldType: fieldType)
/host/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
/host/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:241:26: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | }
240 |
241 | private func resolve<K, M>(keyedBinding: KeyedBinding<K, M>, key: K, inKeys: AnyKeyCollection<K>, mapping: M) throws -> ResolvedBinding<K, M> {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
242 | switch self.dir {
243 | case .toJSON:
/host/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
[15/15] Compiling Crust Mapper.swift
/host/spi-builder-workspace/Crust/Mapper/Mapper.swift:214:26: error: value of type 'NSObject' has no member 'setValue'
212 | if case let nsObject as NSObject = object, newInstance {
213 | primaryKeyValues.forEach { (key, value) in
214 | nsObject.setValue(value, forKey: key)
| `- error: value of type 'NSObject' has no member 'setValue'
215 | }
216 | }
/host/spi-builder-workspace/Crust/Mapper/Mapper.swift:233:89: error: argument type 'NSObject' does not conform to expected type 'CVarArg'
231 | let baseJson = key != nil ? json[key!] : json
232 | if let val = baseJson {
233 | let transformedVal: CVarArg = try transform?(val, parentPayload) ?? val.valuesAsNSObjects()
| `- error: argument type 'NSObject' does not conform to expected type 'CVarArg'
234 | let sanitizedVal = self.adapter.sanitize(primaryKeyProperty: primaryKey,
235 | forValue: transformedVal,
BUILD FAILURE 6.3 wasm