Build Information
Failed to build ObjectMapper, reference 4.4.3 (6021c6), with Swift 6.4 for Wasm on 20 Sep 2026 16:33:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tristanhimmelman/ObjectMapper.git
Reference: 4.4.3
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/tristanhimmelman/ObjectMapper
* tag 4.4.3 -> FETCH_HEAD
HEAD is now at 6021c60 Merge pull request #1148 from kaulex99/patch-1
Cloned https://github.com/tristanhimmelman/ObjectMapper.git
Revision (git rev-parse @):
6021c6035e83a306047348666f6400dc61445d3b
SUCCESS checkout https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/tristanhimmelman/ObjectMapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/Info.plist
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Info.plist
/host/spi-builder-workspace/Sources/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[Planning deferred tasks]
[27 / 35] ObjectMapper
/host/spi-builder-workspace/Sources/TransformOperators.swift:338:46: [1;33mwarning: [1;39mtuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode[0;0m
[0;36m336 |[0;0m
[0;36m337 |[0;0m if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
[0;36m338 |[0;0m let transformedDictionary = dictionary.map [4;39m{ (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mtuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode[0;0m
[0;36m339 |[0;0m let (key, values) = arg
[0;36m340 |[0;0m if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:375:46: [1;33mwarning: [1;39mtuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode[0;0m
[0;36m373 |[0;0m if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
[0;36m374 |[0;0m
[0;36m375 |[0;0m let transformedDictionary = dictionary.map [4;39m{ (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mtuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode[0;0m
[0;36m376 |[0;0m let (key, values) = arg
[0;36m377 |[0;0m if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:396:41: [1;33mwarning: [1;39mtuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels; this will be an error in a future Swift language mode[0;0m
[0;36m394 |[0;0m
[0;36m395 |[0;0m if map.mappingType == .toJSON {
[0;36m396 |[0;0m let transformedDictionary = left?.map [4;39m{ (arg: (key: String, values: [Transform.Object])) in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mtuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels; this will be an error in a future Swift language mode[0;0m
[0;36m397 |[0;0m return (arg.key, toJSONArrayWithTransform(arg.values, transform: transform) ?? [])
[0;36m398 |[0;0m }
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/Mapper.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Mapper.swift
/host/spi-builder-workspace/Sources/Mapper.swift:118:20: [1;31merror: [1;39mcannot find type 'NSException' in scope[0;0m
[0;36m116 |[0;0m #if DEBUG
[0;36m117 |[0;0m #if !os(Linux)
[0;36m118 |[0;0m let exception: [4;39mNSException[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSException' in scope[0;0m
[0;36m119 |[0;0m if let mapError = error as? MapError {
[0;36m120 |[0;0m exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
/host/spi-builder-workspace/Sources/Mapper.swift:120:18: [1;31merror: [1;39mcannot find 'NSException' in scope[0;0m
[0;36m118 |[0;0m let exception: NSException
[0;36m119 |[0;0m if let mapError = error as? MapError {
[0;36m120 |[0;0m exception = [4;39mNSException[0;0m(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'NSException' in scope[0;0m
[0;36m121 |[0;0m } else {
[0;36m122 |[0;0m exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/Sources/Mapper.swift:122:18: [1;31merror: [1;39mcannot find 'NSException' in scope[0;0m
[0;36m120 |[0;0m exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
[0;36m121 |[0;0m } else {
[0;36m122 |[0;0m exception = [4;39mNSException[0;0m(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'NSException' in scope[0;0m
[0;36m123 |[0;0m }
[0;36m124 |[0;0m exception.raise()
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/CodableTransform.swift /host/spi-builder-workspace/Sources/CustomDateFormatTransform.swift /host/spi-builder-workspace/Sources/DataTransform.swift /host/spi-builder-workspace/Sources/DateFormatterTransform.swift /host/spi-builder-workspace/Sources/DateTransform.swift /host/spi-builder-workspace/Sources/DictionaryTransform.swift /host/spi-builder-workspace/Sources/EnumOperators.swift /host/spi-builder-workspace/Sources/EnumTransform.swift /host/spi-builder-workspace/Sources/FromJSON.swift /host/spi-builder-workspace/Sources/HexColorTransform.swift /host/spi-builder-workspace/Sources/ISO8601DateTransform.swift /host/spi-builder-workspace/Sources/ImmutableMappable.swift /host/spi-builder-workspace/Sources/IntegerOperators.swift /host/spi-builder-workspace/Sources/Map.swift /host/spi-builder-workspace/Sources/MapError.swift -primary-file /host/spi-builder-workspace/Sources/Mappable.swift -primary-file /host/spi-builder-workspace/Sources/Mapper.swift -primary-file /host/spi-builder-workspace/Sources/NSDecimalNumberTransform.swift /host/spi-builder-workspace/Sources/Operators.swift /host/spi-builder-workspace/Sources/ToJSON.swift /host/spi-builder-workspace/Sources/TransformOf.swift /host/spi-builder-workspace/Sources/TransformOperators.swift /host/spi-builder-workspace/Sources/TransformType.swift /host/spi-builder-workspace/Sources/URLTransform.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/supplementaryOutputs-6 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ObjectMapper -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/ObjectMapper_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/Mappable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/Mapper.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/NSDecimalNumberTransform.o -index-unit-output-path /ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/Mappable.o -index-unit-output-path /ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/Mapper.o -index-unit-output-path /ObjectMapper.build/Debug-webassembly-wasm32/ObjectMapper-t.build/Objects-normal/wasm32/NSDecimalNumberTransform.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm