Build Information
Failed to build PatchouliJSON, reference main (89b9b1
), with Swift 6.1 for Wasm on 29 May 2025 12:15:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexhunsley/patchouli-jsonpatch.git
Reference: main
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/alexhunsley/patchouli-jsonpatch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 89b9b1d Update README.md
Cloned https://github.com/alexhunsley/patchouli-jsonpatch.git
Revision (git rev-parse @):
89b9b1d595780f580c4636db082798cd08cc24d1
SUCCESS checkout https://github.com/alexhunsley/patchouli-jsonpatch.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexhunsley/patchouli-jsonpatch.git
https://github.com/alexhunsley/patchouli-jsonpatch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "patchouli-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/alexhunsley/patchouli-core"
},
{
"identity" : "swift-jsonpatch",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/raymccrae/swift-jsonpatch.git"
}
],
"manifest_display_name" : "PatchouliJSON",
"name" : "PatchouliJSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PatchouliJSON",
"targets" : [
"PatchouliJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PatchouliJSONTests",
"module_type" : "SwiftTarget",
"name" : "PatchouliJSONTests",
"path" : "Tests",
"sources" : [
"Sources/PatchouliJSONTests.swift",
"Sources/TestHepers.swift"
],
"target_dependencies" : [
"PatchouliJSON"
],
"type" : "test"
},
{
"c99name" : "PatchouliJSON",
"module_type" : "SwiftTarget",
"name" : "PatchouliJSON",
"path" : "Sources",
"product_dependencies" : [
"PatchouliCore",
"JSONPatch"
],
"product_memberships" : [
"PatchouliJSON"
],
"sources" : [
"DSL+JSONPatchType.swift",
"JSONSimpleContentBuilder.swift",
"ModuleExports.swift",
"PatchTypes/JSONPatchType.swift",
"Util/String+Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/raymccrae/swift-jsonpatch.git
Fetching https://github.com/alexhunsley/patchouli-core
[1/457] Fetching patchouli-core
[230/1071] Fetching patchouli-core, swift-jsonpatch
Fetched https://github.com/alexhunsley/patchouli-core from cache (0.43s)
[271/614] Fetching swift-jsonpatch
Fetched https://github.com/raymccrae/swift-jsonpatch.git from cache (0.65s)
Computing version for https://github.com/alexhunsley/patchouli-core
Computed https://github.com/alexhunsley/patchouli-core at 0.9.5 (1.33s)
Computing version for https://github.com/raymccrae/swift-jsonpatch.git
Computed https://github.com/raymccrae/swift-jsonpatch.git at 1.0.6 (5.51s)
Creating working copy for https://github.com/raymccrae/swift-jsonpatch.git
Working copy of https://github.com/raymccrae/swift-jsonpatch.git resolved at 1.0.6
Creating working copy for https://github.com/alexhunsley/patchouli-core
Working copy of https://github.com/alexhunsley/patchouli-core resolved at 0.9.5
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Emitting module PatchouliCore
[6/23] Compiling PatchouliCore PatchouliError.swift
[7/23] Compiling PatchouliCore DSL+StringPatch.swift
[8/23] Compiling PatchouliCore String+Util.swift
[9/23] Compiling JSONPatch NSArray+DeepCopy.swift
[10/23] Compiling JSONPatch JSONPatchGenerator.swift
[11/23] Compiling JSONPatch JSONPointer.swift
[12/24] Compiling PatchouliCore PatchType.swift
[13/24] Compiling PatchouliCore PatchedContent+Reduce.swift
[14/24] Compiling PatchouliCore Patchable.swift
[15/24] Compiling JSONPatch JSONPatchCodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONPatchCodable.swift:169:16: error: cannot find 'CFNumberGetType' in scope
167 | }
168 | #else
169 | switch CFNumberGetType(value) {
| `- error: cannot find 'CFNumberGetType' in scope
170 | case .charType:
171 | try encode(value.boolValue)
[16/24] Compiling JSONPatch JSONElement.swift
[17/24] Compiling JSONPatch JSONEquality.swift
[18/24] Compiling PatchouliCore StringPatchType.swift
[19/25] Compiling JSONPatch JSONError.swift
[20/25] Compiling JSONPatch JSONPatch.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:164:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
162 | let mutable = dictionary.mutableCopy() as! NSMutableDictionary
163 | #else
164 | let mutable = NSMutableDictionary(dictionary: dictionary)
| |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
| `- note: did you mean to use 'as!' to force downcast?
165 | #endif
166 | self = .mutableObject(value: mutable)
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONEquality.swift:32:16: error: cannot find 'CFNumberGetType' in scope
30 | return objCType.pointee == 0x63 // character code for 'c'
31 | #else
32 | return CFNumberGetType(self) == .charType
| `- error: cannot find 'CFNumberGetType' in scope
33 | #endif
34 | }
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:164:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
162 | let mutable = dictionary.mutableCopy() as! NSMutableDictionary
163 | #else
164 | let mutable = NSMutableDictionary(dictionary: dictionary)
| |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
| `- note: did you mean to use 'as!' to force downcast?
165 | #endif
166 | self = .mutableObject(value: mutable)
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONEquality.swift:32:16: error: cannot find 'CFNumberGetType' in scope
30 | return objCType.pointee == 0x63 // character code for 'c'
31 | #else
32 | return CFNumberGetType(self) == .charType
| `- error: cannot find 'CFNumberGetType' in scope
33 | #endif
34 | }
[23/25] Emitting module JSONPatch
[24/25] Compiling JSONPatch NSDictionary+DeepCopy.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/NSDictionary+DeepCopy.swift:45:23: error: cannot assign through subscript: subscript is get-only
43 | switch value {
44 | case let array as NSArray:
45 | result[key] = array.deepMutableCopy()
| `- error: cannot assign through subscript: subscript is get-only
46 | case let dict as NSDictionary:
47 | result[key] = dict.deepMutableCopy()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/Resources/patchouli-core-logo-1-scaled-378x379.jpg
/host/spi-builder-workspace/Tests/Resources/patchouli-json-logo-1-scaled-256x254.png
/host/spi-builder-workspace/Tests/Resources/patchouli-json-logo-1.png
/host/spi-builder-workspace/Tests/Resources/patchouli-json-logo-1-scaled-378x375.png
/host/spi-builder-workspace/Tests/Resources/patchouli-core-logo-1.jpg
/host/spi-builder-workspace/Tests/Resources/UserList.json
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling PatchouliCore PatchouliError.swift
[3/19] Compiling PatchouliCore AddressedPatchItemsBuilder.swift
[4/19] Compiling PatchouliCore DSL.swift
[5/20] Emitting module PatchouliCore
[6/20] Compiling JSONPatch NSArray+DeepCopy.swift
[7/21] Emitting module JSONPatch
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:164:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
162 | let mutable = dictionary.mutableCopy() as! NSMutableDictionary
163 | #else
164 | let mutable = NSMutableDictionary(dictionary: dictionary)
| |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
| `- note: did you mean to use 'as!' to force downcast?
165 | #endif
166 | self = .mutableObject(value: mutable)
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONEquality.swift:32:16: error: cannot find 'CFNumberGetType' in scope
30 | return objCType.pointee == 0x63 // character code for 'c'
31 | #else
32 | return CFNumberGetType(self) == .charType
| `- error: cannot find 'CFNumberGetType' in scope
33 | #endif
34 | }
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:164:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
162 | let mutable = dictionary.mutableCopy() as! NSMutableDictionary
163 | #else
164 | let mutable = NSMutableDictionary(dictionary: dictionary)
| |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
| `- note: did you mean to use 'as!' to force downcast?
165 | #endif
166 | self = .mutableObject(value: mutable)
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONEquality.swift:32:16: error: cannot find 'CFNumberGetType' in scope
30 | return objCType.pointee == 0x63 // character code for 'c'
31 | #else
32 | return CFNumberGetType(self) == .charType
| `- error: cannot find 'CFNumberGetType' in scope
33 | #endif
34 | }
[10/21] Compiling PatchouliCore Patchable.swift
[11/21] Compiling PatchouliCore PatchedContent+Reduce.swift
[12/21] Compiling PatchouliCore DSL+StringPatch.swift
[13/21] Compiling PatchouliCore StringPatchType.swift
[14/21] Compiling PatchouliCore PatchType.swift
[15/21] Compiling JSONPatch JSONPatchGenerator.swift
[16/21] Compiling JSONPatch JSONPointer.swift
[17/21] Compiling JSONPatch JSONPatchCodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONPatchCodable.swift:169:16: error: cannot find 'CFNumberGetType' in scope
167 | }
168 | #else
169 | switch CFNumberGetType(value) {
| `- error: cannot find 'CFNumberGetType' in scope
170 | case .charType:
171 | try encode(value.boolValue)
[18/21] Compiling JSONPatch JSONError.swift
[19/21] Compiling JSONPatch JSONPatch.swift
[20/21] Compiling JSONPatch NSDictionary+DeepCopy.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/NSDictionary+DeepCopy.swift:45:23: error: cannot assign through subscript: subscript is get-only
43 | switch value {
44 | case let array as NSArray:
45 | result[key] = array.deepMutableCopy()
| `- error: cannot assign through subscript: subscript is get-only
46 | case let dict as NSDictionary:
47 | result[key] = dict.deepMutableCopy()
[21/21] Compiling PatchouliCore String+Util.swift
BUILD FAILURE 6.1 wasm