Build Information
Failed to build LocalizationToolkitObjectMapper, reference develop (782ede
), with Swift 6.1 for Android on 27 May 2025 15:00:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Reference: develop
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
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 782edee Merge branch 'release/1.0.1' into develop
Cloned https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Revision (git rev-parse @):
782edee3a9c83be736a9c824fa67ebdd2df33b44
SUCCESS checkout https://github.com/Digipolitan/localization-toolkit-object-mapper.git at develop
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Digipolitan/localization-toolkit-object-mapper.git
https://github.com/Digipolitan/localization-toolkit-object-mapper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "localization-toolkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Digipolitan/localization-toolkit.git"
},
{
"identity" : "objectmapper",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Hearst-DD/ObjectMapper.git"
}
],
"manifest_display_name" : "LocalizationToolkitObjectMapper",
"name" : "LocalizationToolkitObjectMapper",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LocalizationToolkitObjectMapper",
"targets" : [
"LocalizationToolkitObjectMapper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LocalizationToolkitObjectMapperTests",
"module_type" : "SwiftTarget",
"name" : "LocalizationToolkitObjectMapperTests",
"path" : "Tests/LocalizationToolkitObjectMapperTests",
"sources" : [
"LocalizationToolkitObjectMapperTests.swift",
"Model.swift"
],
"target_dependencies" : [
"LocalizationToolkitObjectMapper"
],
"type" : "test"
},
{
"c99name" : "LocalizationToolkitObjectMapper",
"module_type" : "SwiftTarget",
"name" : "LocalizationToolkitObjectMapper",
"path" : "Sources/LocalizationToolkitObjectMapper",
"product_dependencies" : [
"LocalizationToolkit",
"ObjectMapper"
],
"product_memberships" : [
"LocalizationToolkitObjectMapper"
],
"sources" : [
"MultilingualStringTransform.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Hearst-DD/ObjectMapper.git
Fetching https://github.com/Digipolitan/localization-toolkit.git
[1/467] Fetching localization-toolkit
[468/6804] Fetching localization-toolkit, objectmapper
[4943/6337] Fetching objectmapper
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (0.33s)
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (0.48s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (6.41s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (2.93s)
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] Emitting module ObjectMapper
[6/34] Compiling ObjectMapper Operators.swift
[7/34] Compiling ObjectMapper ToJSON.swift
[8/34] Compiling ObjectMapper TransformOf.swift
[9/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()
[10/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()
[11/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()
[12/34] Compiling ObjectMapper TransformOperators.swift
[13/34] Compiling ObjectMapper TransformType.swift
[14/34] Compiling ObjectMapper URLTransform.swift
[15/34] Compiling ObjectMapper EnumOperators.swift
[16/34] Compiling ObjectMapper EnumTransform.swift
[17/34] Compiling ObjectMapper FromJSON.swift
[18/34] Compiling ObjectMapper DateFormatterTransform.swift
[19/34] Compiling ObjectMapper DateTransform.swift
[20/34] Compiling ObjectMapper DictionaryTransform.swift
[21/34] Compiling ObjectMapper CodableTransform.swift
[22/34] Compiling ObjectMapper CustomDateFormatTransform.swift
[23/34] Compiling ObjectMapper DataTransform.swift
[24/34] Compiling ObjectMapper HexColorTransform.swift
[25/34] Compiling ObjectMapper ISO8601DateTransform.swift
[26/34] Compiling ObjectMapper ImmutableMappable.swift
[27/34] Compiling ObjectMapper IntegerOperators.swift
[28/34] Compiling ObjectMapper Map.swift
[29/34] Compiling ObjectMapper MapError.swift
[30/34] Compiling LocalizationToolkit MultilingualString.swift
[31/34] Compiling LocalizationToolkit Localization.swift
[32/34] Emitting module LocalizationToolkit
[33/34] Compiling LocalizationToolkit String+Localization.swift
[34/34] Compiling LocalizationToolkit Bundle+Localization.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module ObjectMapper
[3/31] Compiling ObjectMapper CodableTransform.swift
[4/31] Compiling ObjectMapper CustomDateFormatTransform.swift
[5/31] Compiling ObjectMapper DataTransform.swift
[6/31] Compiling LocalizationToolkit MultilingualString.swift
[7/31] Compiling LocalizationToolkit String+Localization.swift
[8/31] Emitting module LocalizationToolkit
[9/31] Compiling LocalizationToolkit Bundle+Localization.swift
[10/31] Compiling LocalizationToolkit Localization.swift
[12/32] Compiling ObjectMapper TransformOperators.swift
[13/32] Compiling ObjectMapper TransformType.swift
[14/32] Compiling ObjectMapper URLTransform.swift
[15/32] Compiling ObjectMapper HexColorTransform.swift
[16/32] Compiling ObjectMapper ISO8601DateTransform.swift
[17/32] Compiling ObjectMapper ImmutableMappable.swift
[18/32] 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()
[19/32] 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()
[20/32] 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()
[21/32] Compiling ObjectMapper Operators.swift
[22/32] Compiling ObjectMapper ToJSON.swift
[23/32] Compiling ObjectMapper TransformOf.swift
[24/32] Compiling ObjectMapper EnumOperators.swift
[25/32] Compiling ObjectMapper EnumTransform.swift
[26/32] Compiling ObjectMapper FromJSON.swift
[27/32] Compiling ObjectMapper DateFormatterTransform.swift
[28/32] Compiling ObjectMapper DateTransform.swift
[29/32] Compiling ObjectMapper DictionaryTransform.swift
[30/32] Compiling ObjectMapper IntegerOperators.swift
[31/32] Compiling ObjectMapper Map.swift
[32/32] Compiling ObjectMapper MapError.swift
BUILD FAILURE 6.1 android