The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ObjectMapper, reference 4.4.3 (6021c6), with Swift 6.3 for Wasm on 14 Apr 2026 13:14:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/tristanhimmelman/ObjectMapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
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...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Emitting module ObjectMapper
[4/27] Compiling ObjectMapper Mappable.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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()
[5/27] Compiling ObjectMapper Mapper.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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()
[6/27] Compiling ObjectMapper NSDecimalNumberTransform.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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()
[7/27] Compiling ObjectMapper IntegerOperators.swift
[8/27] Compiling ObjectMapper Map.swift
[9/27] Compiling ObjectMapper MapError.swift
[10/27] Compiling ObjectMapper CodableTransform.swift
[11/27] Compiling ObjectMapper CustomDateFormatTransform.swift
[12/27] Compiling ObjectMapper DataTransform.swift
[13/27] Compiling ObjectMapper DateFormatterTransform.swift
[14/27] Compiling ObjectMapper DateTransform.swift
[15/27] Compiling ObjectMapper DictionaryTransform.swift
[16/27] Compiling ObjectMapper EnumOperators.swift
[17/27] Compiling ObjectMapper EnumTransform.swift
[18/27] Compiling ObjectMapper FromJSON.swift
[19/27] Compiling ObjectMapper HexColorTransform.swift
[20/27] Compiling ObjectMapper ISO8601DateTransform.swift
[21/27] Compiling ObjectMapper ImmutableMappable.swift
[22/27] Compiling ObjectMapper Operators.swift
[23/27] Compiling ObjectMapper ToJSON.swift
[24/27] Compiling ObjectMapper TransformOf.swift
[25/27] Compiling ObjectMapper TransformOperators.swift
/host/spi-builder-workspace/Sources/TransformOperators.swift:338:46: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
336 |
337 | 	if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
338 | 		let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
    |                                              `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
339 | 			let (key, values) = arg
340 | 			if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:375:46: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
373 | 	if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
374 |
375 | 		let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
    |                                              `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
376 | 			let (key, values) = arg
377 | 			if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:396:41: warning: tuple 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
394 |
395 | 	if map.mappingType == .toJSON {
396 | 		let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
    |                                         `- warning: tuple 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
397 | 			return (arg.key, toJSONArrayWithTransform(arg.values, transform: transform) ?? [])
398 | 		}
[26/27] Compiling ObjectMapper TransformType.swift
/host/spi-builder-workspace/Sources/TransformOperators.swift:338:46: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
336 |
337 | 	if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
338 | 		let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
    |                                              `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
339 | 			let (key, values) = arg
340 | 			if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:375:46: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
373 | 	if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
374 |
375 | 		let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
    |                                              `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
376 | 			let (key, values) = arg
377 | 			if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:396:41: warning: tuple 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
394 |
395 | 	if map.mappingType == .toJSON {
396 | 		let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
    |                                         `- warning: tuple 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
397 | 			return (arg.key, toJSONArrayWithTransform(arg.values, transform: transform) ?? [])
398 | 		}
[27/27] Compiling ObjectMapper URLTransform.swift
/host/spi-builder-workspace/Sources/TransformOperators.swift:338:46: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
336 |
337 | 	if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
338 | 		let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
    |                                              `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
339 | 			let (key, values) = arg
340 | 			if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:375:46: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
373 | 	if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromJSON && map.isKeyPresent {
374 |
375 | 		let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
    |                                              `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels; this will be an error in a future Swift language mode
376 | 			let (key, values) = arg
377 | 			if let jsonArray = fromJSONArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/Sources/TransformOperators.swift:396:41: warning: tuple 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
394 |
395 | 	if map.mappingType == .toJSON {
396 | 		let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
    |                                         `- warning: tuple 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
397 | 			return (arg.key, toJSONArrayWithTransform(arg.values, transform: transform) ?? [])
398 | 		}
BUILD FAILURE 6.3 wasm