The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LocalizationToolkitObjectMapper, reference v1.0.1 (19515a), with Swift 6.1 for Android on 27 May 2025 15:01:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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:         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-0":/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/Digipolitan/localization-toolkit.git
Fetching https://github.com/Hearst-DD/ObjectMapper.git
[1/467] Fetching localization-toolkit
[468/6804] Fetching localization-toolkit, objectmapper
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (0.26s)
[127/6337] Fetching objectmapper
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (0.45s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (2.79s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (3.16s)
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 LocalizationToolkit String+Localization.swift
[6/31] Compiling ObjectMapper Operators.swift
[7/31] Compiling ObjectMapper ToJSON.swift
[8/31] 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 CodableTransform.swift
[13/34] Compiling ObjectMapper CustomDateFormatTransform.swift
[14/34] Compiling ObjectMapper DataTransform.swift
[15/34] Emitting module ObjectMapper
[16/34] Compiling LocalizationToolkit MultilingualString.swift
[17/34] Compiling LocalizationToolkit Bundle+Localization.swift
[18/34] Emitting module LocalizationToolkit
[19/34] Compiling LocalizationToolkit Localization.swift
[20/34] Compiling ObjectMapper IntegerOperators.swift
[21/34] Compiling ObjectMapper Map.swift
[22/34] Compiling ObjectMapper MapError.swift
[23/35] Compiling ObjectMapper HexColorTransform.swift
[24/35] Compiling ObjectMapper ISO8601DateTransform.swift
[25/35] Compiling ObjectMapper ImmutableMappable.swift
[26/35] Compiling ObjectMapper DateFormatterTransform.swift
[27/35] Compiling ObjectMapper DateTransform.swift
[28/35] Compiling ObjectMapper DictionaryTransform.swift
[29/35] Compiling ObjectMapper EnumOperators.swift
[30/35] Compiling ObjectMapper EnumTransform.swift
[31/35] Compiling ObjectMapper FromJSON.swift
[33/35] Compiling ObjectMapper TransformOperators.swift
[34/35] Compiling ObjectMapper TransformType.swift
[35/35] Compiling ObjectMapper URLTransform.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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] Compiling LocalizationToolkit String+Localization.swift
[3/28] Compiling LocalizationToolkit MultilingualString.swift
[4/28] Emitting module LocalizationToolkit
[5/28] Compiling LocalizationToolkit Localization.swift
[6/28] Compiling LocalizationToolkit Bundle+Localization.swift
[8/29] Emitting module ObjectMapper
[9/29] Compiling ObjectMapper CodableTransform.swift
[10/29] Compiling ObjectMapper CustomDateFormatTransform.swift
[11/29] Compiling ObjectMapper DataTransform.swift
[12/32] Compiling ObjectMapper EnumOperators.swift
[13/32] Compiling ObjectMapper EnumTransform.swift
[14/32] Compiling ObjectMapper FromJSON.swift
[15/32] Compiling ObjectMapper DateFormatterTransform.swift
[16/32] Compiling ObjectMapper DateTransform.swift
[17/32] Compiling ObjectMapper DictionaryTransform.swift
[18/32] Compiling ObjectMapper Operators.swift
[19/32] Compiling ObjectMapper ToJSON.swift
[20/32] Compiling ObjectMapper TransformOf.swift
[21/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()
[22/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()
[23/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()
[24/32] Compiling ObjectMapper IntegerOperators.swift
[25/32] Compiling ObjectMapper Map.swift
[26/32] Compiling ObjectMapper MapError.swift
[27/32] Compiling ObjectMapper HexColorTransform.swift
[28/32] Compiling ObjectMapper ISO8601DateTransform.swift
[29/32] Compiling ObjectMapper ImmutableMappable.swift
[30/32] Compiling ObjectMapper TransformOperators.swift
[31/32] Compiling ObjectMapper TransformType.swift
[32/32] Compiling ObjectMapper URLTransform.swift
BUILD FAILURE 6.1 android