The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ObjectMapper, reference 4.4.3 (6021c6), with Swift 6.2 for Wasm on 21 Jun 2025 12:39:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tristanhimmelman/ObjectMapper.git
Reference: 4.4.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tristanhimmelman/ObjectMapper
 * tag               4.4.3      -> FETCH_HEAD
HEAD is now at 6021c60 Merge pull request #1148 from kaulex99/patch-1
Cloned https://github.com/tristanhimmelman/ObjectMapper.git
Revision (git rev-parse @):
6021c6035e83a306047348666f6400dc61445d3b
SUCCESS checkout https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tristanhimmelman/ObjectMapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Info.plist
    /host/spi-builder-workspace/Sources/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling ObjectMapper Operators.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[4/24] Compiling ObjectMapper ToJSON.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[5/24] Compiling ObjectMapper TransformOf.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[6/27] Compiling ObjectMapper IntegerOperators.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[7/27] Compiling ObjectMapper Map.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[8/27] Compiling ObjectMapper MapError.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[9/27] Compiling ObjectMapper Mappable.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[10/27] Compiling ObjectMapper Mapper.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[11/27] Compiling ObjectMapper NSDecimalNumberTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[12/27] Compiling ObjectMapper EnumOperators.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[13/27] Compiling ObjectMapper EnumTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[14/27] Compiling ObjectMapper FromJSON.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/27] Emitting module ObjectMapper
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[16/27] Compiling ObjectMapper DateFormatterTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[17/27] Compiling ObjectMapper DateTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[18/27] Compiling ObjectMapper DictionaryTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[19/27] Compiling ObjectMapper HexColorTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[20/27] Compiling ObjectMapper ISO8601DateTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[21/27] Compiling ObjectMapper ImmutableMappable.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[22/27] Compiling ObjectMapper CodableTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[23/27] Compiling ObjectMapper CustomDateFormatTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[24/27] Compiling ObjectMapper DataTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[25/27] Compiling ObjectMapper TransformOperators.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[26/27] Compiling ObjectMapper TransformType.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
[27/27] Compiling ObjectMapper URLTransform.swift
/host/spi-builder-workspace/Sources/CodableTransform.swift:29:8: error: no such module 'Foundation'
27 | //  THE SOFTWARE.
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | /// Transforms JSON dictionary to Codable type T and back
BUILD FAILURE 6.2 wasm