Build Information
Failed to build Crust, reference 0.13.0 (d63368), with Swift 6.2 for Linux on 18 Jun 2025 00:43:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rexmas/Crust.git
Reference: 0.13.0
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
* tag 0.13.0 -> FETCH_HEAD
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 0.13.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/rexmas/Crust.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/rexmas/JSONValue.git
[1/652] Fetching jsonvalue
Fetched https://github.com/rexmas/JSONValue.git from cache (0.33s)
Computing version for https://github.com/rexmas/JSONValue.git
Computed https://github.com/rexmas/JSONValue.git at 7.0.0 (1.03s)
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] Emitting module JSONValueRX
[7/7] Compiling JSONValueRX JSON.swift
[9/15] Compiling Crust Utilities.swift
[10/15] Compiling Crust AnyAdapter.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:229:25: error: type of expression is ambiguous without a type annotation
227 |
228 | var keyValues = [String : CVarArg]()
229 | try primaryKeys.forEach { (primaryKey, keyPath, transform) in
| `- error: type of expression is ambiguous without a type annotation
230 | let key = keyPath?.keyPath
231 | let baseJson = key != nil ? json[key!] : json
BUILD FAILURE 6.2 linux