Build Information
Failed to build LocalizationToolkitObjectMapper, reference v1.0.1 (19515a), with Swift 6.3 for Wasm on 11 Apr 2026 06:56:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Digipolitan/localization-toolkit-object-mapper.git
Reference: v1.0.1
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/Digipolitan/localization-toolkit-object-mapper
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 19515a4 Merge branch 'release/1.0.1'
Cloned https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Revision (git rev-parse @):
19515a4ddc1a218fc93579b8e021dccbf5d09d16
SUCCESS checkout https://github.com/Digipolitan/localization-toolkit-object-mapper.git at v1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Digipolitan/localization-toolkit.git
Fetching https://github.com/Hearst-DD/ObjectMapper.git
[1/467] Fetching localization-toolkit
[468/6801] Fetching localization-toolkit, objectmapper
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (1.11s)
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (1.11s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (7.56s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (3.98s)
Creating working copy for https://github.com/Digipolitan/localization-toolkit.git
Working copy of https://github.com/Digipolitan/localization-toolkit.git resolved at 1.3.0
Creating working copy for https://github.com/Hearst-DD/ObjectMapper.git
Working copy of https://github.com/Hearst-DD/ObjectMapper.git resolved at 3.5.3
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/31] Compiling ObjectMapper EnumOperators.swift
[6/31] Compiling ObjectMapper EnumTransform.swift
[7/31] Compiling ObjectMapper FromJSON.swift
[8/34] Compiling ObjectMapper IntegerOperators.swift
[9/34] Compiling ObjectMapper Map.swift
[10/34] Compiling ObjectMapper MapError.swift
[11/34] Emitting module ObjectMapper
[12/34] Compiling ObjectMapper CodableTransform.swift
[13/34] Compiling ObjectMapper CustomDateFormatTransform.swift
[14/34] Compiling ObjectMapper DataTransform.swift
[15/34] Compiling ObjectMapper Mappable.swift
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:118:20: error: cannot find type 'NSException' in scope
116 | #if DEBUG
117 | #if !os(Linux)
118 | let exception: NSException
| `- error: cannot find type 'NSException' in scope
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:18: error: cannot find 'NSException' in scope
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: cannot find 'NSException' in scope
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:37: error: cannot infer contextual base in reference to member 'init'
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: cannot infer contextual base in reference to member 'init'
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:105: error: 'nil' requires a contextual type
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: 'nil' requires a contextual type
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:18: error: cannot find 'NSException' in scope
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: cannot find 'NSException' in scope
123 | }
124 | exception.raise()
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:37: error: cannot infer contextual base in reference to member 'init'
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: cannot infer contextual base in reference to member 'init'
123 | }
124 | exception.raise()
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:125: error: 'nil' requires a contextual type
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: 'nil' requires a contextual type
123 | }
124 | exception.raise()
[16/34] Compiling ObjectMapper Mapper.swift
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:118:20: error: cannot find type 'NSException' in scope
116 | #if DEBUG
117 | #if !os(Linux)
118 | let exception: NSException
| `- error: cannot find type 'NSException' in scope
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:18: error: cannot find 'NSException' in scope
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: cannot find 'NSException' in scope
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:37: error: cannot infer contextual base in reference to member 'init'
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: cannot infer contextual base in reference to member 'init'
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:105: error: 'nil' requires a contextual type
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: 'nil' requires a contextual type
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:18: error: cannot find 'NSException' in scope
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: cannot find 'NSException' in scope
123 | }
124 | exception.raise()
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:37: error: cannot infer contextual base in reference to member 'init'
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: cannot infer contextual base in reference to member 'init'
123 | }
124 | exception.raise()
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:125: error: 'nil' requires a contextual type
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: 'nil' requires a contextual type
123 | }
124 | exception.raise()
[17/34] Compiling ObjectMapper NSDecimalNumberTransform.swift
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:118:20: error: cannot find type 'NSException' in scope
116 | #if DEBUG
117 | #if !os(Linux)
118 | let exception: NSException
| `- error: cannot find type 'NSException' in scope
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:18: error: cannot find 'NSException' in scope
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: cannot find 'NSException' in scope
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:37: error: cannot infer contextual base in reference to member 'init'
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: cannot infer contextual base in reference to member 'init'
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:120:105: error: 'nil' requires a contextual type
118 | let exception: NSException
119 | if let mapError = error as? MapError {
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
| `- error: 'nil' requires a contextual type
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:18: error: cannot find 'NSException' in scope
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: cannot find 'NSException' in scope
123 | }
124 | exception.raise()
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:37: error: cannot infer contextual base in reference to member 'init'
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: cannot infer contextual base in reference to member 'init'
123 | }
124 | exception.raise()
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Mapper.swift:122:125: error: 'nil' requires a contextual type
120 | exception = NSException(name: .init(rawValue: "MapError"), reason: mapError.description, userInfo: nil)
121 | } else {
122 | exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil)
| `- error: 'nil' requires a contextual type
123 | }
124 | exception.raise()
[18/34] Compiling LocalizationToolkit Bundle+Localization.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/34] Emitting module LocalizationToolkit
/host/spi-builder-workspace/.build/checkouts/localization-toolkit/Sources/LocalizationToolkit/Localization.swift:32:40: error: no exact matches in call to instance method 'post'
30 | UserDefaults.standard.set(self.appLanguage, forKey: Keys.app)
31 | UserDefaults.standard.synchronize()
32 | NotificationCenter.default.post(name: Notification.Name.LocalizationDidChange, object: nil)
| |- error: no exact matches in call to instance method 'post'
| |- note: found candidate with type '(Notification.Name, Notification.Name.Subject) -> ()' (aka '(NSNotification.Name, Notification.Name.Subject) -> ()')
| `- note: found candidate with type '@MainActor (Notification.Name, Notification.Name.Subject) -> ()' (aka '@MainActor (NSNotification.Name, Notification.Name.Subject) -> ()')
33 | }
34 | }
[20/34] Compiling LocalizationToolkit String+Localization.swift
[21/34] Compiling ObjectMapper HexColorTransform.swift
[22/34] Compiling ObjectMapper ISO8601DateTransform.swift
[23/34] Compiling ObjectMapper ImmutableMappable.swift
[24/34] Compiling ObjectMapper Operators.swift
[25/34] Compiling ObjectMapper ToJSON.swift
[26/34] Compiling ObjectMapper TransformOf.swift
[27/34] Compiling ObjectMapper DateFormatterTransform.swift
[28/34] Compiling ObjectMapper DateTransform.swift
[29/34] Compiling ObjectMapper DictionaryTransform.swift
[30/34] Compiling LocalizationToolkit MultilingualString.swift
[31/34] Compiling LocalizationToolkit Localization.swift
/host/spi-builder-workspace/.build/checkouts/localization-toolkit/Sources/LocalizationToolkit/Localization.swift:32:40: error: no exact matches in call to instance method 'post'
30 | UserDefaults.standard.set(self.appLanguage, forKey: Keys.app)
31 | UserDefaults.standard.synchronize()
32 | NotificationCenter.default.post(name: Notification.Name.LocalizationDidChange, object: nil)
| |- error: no exact matches in call to instance method 'post'
| |- note: found candidate with type '(Notification.Name, Notification.Name.Subject) -> ()' (aka '(NSNotification.Name, Notification.Name.Subject) -> ()')
| `- note: found candidate with type '@MainActor (Notification.Name, Notification.Name.Subject) -> ()' (aka '@MainActor (NSNotification.Name, Notification.Name.Subject) -> ()')
33 | }
34 | }
BUILD FAILURE 6.3 wasm