The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DependencyInjectorObjectMapper, reference v1.0.6 (7a5335), with Swift 6.1 for Android on 27 May 2025 11:28:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/dependency-injector-object-mapper.git
Reference: v1.0.6
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/dependency-injector-object-mapper
 * tag               v1.0.6     -> FETCH_HEAD
HEAD is now at 7a5335d Merge branch 'release/1.0.6'
Cloned https://github.com/Digipolitan/dependency-injector-object-mapper.git
Revision (git rev-parse @):
7a5335dfcf6c94b0ae31b773d640331da28eee9c
SUCCESS checkout https://github.com/Digipolitan/dependency-injector-object-mapper.git at v1.0.6
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Digipolitan/dependency-injector-object-mapper.git
https://github.com/Digipolitan/dependency-injector-object-mapper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "dependency-injector",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Digipolitan/dependency-injector.git"
    },
    {
      "identity" : "objectmapper",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Hearst-DD/ObjectMapper.git"
    }
  ],
  "manifest_display_name" : "DependencyInjectorObjectMapper",
  "name" : "DependencyInjectorObjectMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DependencyInjectorObjectMapper",
      "targets" : [
        "DependencyInjectorObjectMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DependencyInjectorObjectMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyInjectorObjectMapperTests",
      "path" : "Tests/DependencyInjectorObjectMapperTests",
      "sources" : [
        "Address.swift",
        "AddressModel.swift",
        "DefaultModule.swift",
        "DependencyInjectorObjectMapperTests.swift",
        "User.swift",
        "UserModel.swift"
      ],
      "target_dependencies" : [
        "DependencyInjectorObjectMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DependencyInjectorObjectMapper",
      "module_type" : "SwiftTarget",
      "name" : "DependencyInjectorObjectMapper",
      "path" : "Sources/DependencyInjectorObjectMapper",
      "product_dependencies" : [
        "DependencyInjector",
        "ObjectMapper"
      ],
      "product_memberships" : [
        "DependencyInjectorObjectMapper"
      ],
      "sources" : [
        "Binder+ObjectMapper.swift",
        "InjectorTransformer.swift",
        "Map+DependencyInjector.swift",
        "Provider+ObjectMapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/dependency-injector.git
[1/748] Fetching dependency-injector
[749/7085] Fetching dependency-injector, objectmapper
Fetched https://github.com/Digipolitan/dependency-injector.git from cache (0.39s)
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (0.39s)
Computing version for https://github.com/Digipolitan/dependency-injector.git
Computed https://github.com/Digipolitan/dependency-injector.git at 2.2.1 (2.92s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (2.12s)
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
Creating working copy for https://github.com/Digipolitan/dependency-injector.git
Working copy of https://github.com/Digipolitan/dependency-injector.git resolved at 2.2.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/32] Compiling DependencyInjector Binder.swift
[6/32] Compiling DependencyInjector Injector.swift
[7/32] Compiling DependencyInjector Injectable.swift
[8/32] Compiling DependencyInjector Module.swift
[9/32] Compiling DependencyInjector Provider.swift
[10/32] Emitting module DependencyInjector
[12/33] Compiling ObjectMapper CodableTransform.swift
[13/33] Compiling ObjectMapper CustomDateFormatTransform.swift
[14/33] Compiling ObjectMapper DataTransform.swift
[15/36] Emitting module ObjectMapper
[16/36] Compiling ObjectMapper DateFormatterTransform.swift
[17/36] Compiling ObjectMapper DateTransform.swift
[18/36] Compiling ObjectMapper DictionaryTransform.swift
[19/36] Compiling ObjectMapper EnumOperators.swift
[20/36] Compiling ObjectMapper EnumTransform.swift
[21/36] Compiling ObjectMapper FromJSON.swift
[22/36] Compiling ObjectMapper Operators.swift
[23/36] Compiling ObjectMapper ToJSON.swift
[24/36] Compiling ObjectMapper TransformOf.swift
[25/36] Compiling ObjectMapper HexColorTransform.swift
[26/36] Compiling ObjectMapper ISO8601DateTransform.swift
[27/36] Compiling ObjectMapper ImmutableMappable.swift
[28/36] Compiling ObjectMapper IntegerOperators.swift
[29/36] Compiling ObjectMapper Map.swift
[30/36] Compiling ObjectMapper MapError.swift
[31/36] 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()
[32/36] 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()
[33/36] 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()
[34/36] Compiling ObjectMapper TransformOperators.swift
[35/36] Compiling ObjectMapper TransformType.swift
[36/36] Compiling ObjectMapper URLTransform.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/29] Compiling DependencyInjector Module.swift
[3/29] Compiling DependencyInjector Injectable.swift
[4/29] Emitting module DependencyInjector
[5/29] Compiling DependencyInjector Binder.swift
[6/29] Compiling DependencyInjector Injector.swift
[7/29] Compiling DependencyInjector Provider.swift
[9/30] Compiling ObjectMapper EnumOperators.swift
[10/30] Compiling ObjectMapper EnumTransform.swift
[11/30] Compiling ObjectMapper FromJSON.swift
[12/33] Compiling ObjectMapper Operators.swift
[13/33] Compiling ObjectMapper ToJSON.swift
[14/33] Compiling ObjectMapper TransformOf.swift
[15/33] 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/33] 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/33] 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/33] Compiling ObjectMapper HexColorTransform.swift
[19/33] Compiling ObjectMapper ISO8601DateTransform.swift
[20/33] Compiling ObjectMapper ImmutableMappable.swift
[21/33] Compiling ObjectMapper DateFormatterTransform.swift
[22/33] Compiling ObjectMapper DateTransform.swift
[23/33] Compiling ObjectMapper DictionaryTransform.swift
[24/33] Compiling ObjectMapper CodableTransform.swift
[25/33] Compiling ObjectMapper CustomDateFormatTransform.swift
[26/33] Compiling ObjectMapper DataTransform.swift
[27/33] Compiling ObjectMapper IntegerOperators.swift
[28/33] Compiling ObjectMapper Map.swift
[29/33] Compiling ObjectMapper MapError.swift
[30/33] Emitting module ObjectMapper
[31/33] Compiling ObjectMapper TransformOperators.swift
[32/33] Compiling ObjectMapper TransformType.swift
[33/33] Compiling ObjectMapper URLTransform.swift
BUILD FAILURE 6.1 android