The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mParticle-Apple-SDK, reference main (936eaf), with Swift 6.1 for Wasm on 26 Nov 2026 12:01:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mParticle/mparticle-apple-sdk.git
Reference: main
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/mParticle/mparticle-apple-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 936eaf0 ci(integration-tests): capture diagnostics before WireMock stops (#1234)
Cloned https://github.com/mParticle/mparticle-apple-sdk.git
Revision (git rev-parse @):
936eaf027d13a83a5766f4f14b346f691b9654d1
SUCCESS checkout https://github.com/mParticle/mparticle-apple-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mParticle/mparticle-apple-sdk.git
https://github.com/mParticle/mparticle-apple-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/ROKT/rokt-contracts-apple.git
[1/451] Fetching rokt-contracts-apple
Fetched https://github.com/ROKT/rokt-contracts-apple.git from cache (0.43s)
Computing version for https://github.com/ROKT/rokt-contracts-apple.git
Computed https://github.com/ROKT/rokt-contracts-apple.git at 2.1.0 (0.66s)
Creating working copy for https://github.com/ROKT/rokt-contracts-apple.git
Working copy of https://github.com/ROKT/rokt-contracts-apple.git resolved at 2.1.0
Building for debugging...
[0/47] Write sources
[3/47] Write swift-version-24593BA9C3E375BF.txt
[5/189] Compiling RoktContracts RoktEmbeddedView.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[6/189] Compiling RoktContracts RoktPlacementOptions.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[7/189] Compiling RoktContracts PaymentExtension.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[8/189] Compiling RoktContracts PaymentTypes.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[9/189] Compiling RoktContracts RoktEvent.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[10/189] Compiling RoktContracts RoktConfig.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/189] Emitting module RoktContracts
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[12/189] Compiling RoktContracts RoktPrivacyControl.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[13/189] Compiling mParticle_Apple_SDK_Swift MPBracket.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[14/189] Compiling mParticle_Apple_SDK_Swift MPConsentKitFilter.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[15/189] Compiling mParticle_Apple_SDK_Swift MPConsentRecord.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[16/189] Compiling mParticle_Apple_SDK_Swift MPConvertJSFields.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[17/189] Compiling mParticle_Apple_SDK_Swift MPCustomModule.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[18/189] Compiling mParticle_Apple_SDK_Swift MPCustomModulePreference.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[19/189] Compiling mParticle_Apple_SDK_Swift MPCustomModulePreferenceLogic.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[20/189] Compiling mParticle_Apple_SDK_Swift MPDateFormatter.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[21/189] Compiling mParticle_Apple_SDK_Swift MPDevice.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[22/189] Compiling mParticle_Apple_SDK_Swift MPExecStatusFormatter.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[23/189] Compiling mParticle_Apple_SDK_Swift MPExecutor.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[24/189] Compiling mParticle_Apple_SDK_Swift MPForwardQueueParameters.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[25/189] Compiling mParticle_Apple_SDK_Swift MPIHasher.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[26/189] Compiling mParticle_Apple_SDK_Swift MPKitExecStatus.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[27/189] Compiling mParticle_Apple_SDK_Swift MPKitValueTransformer.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[28/189] Compiling mParticle_Apple_SDK_Swift MPLaunchInfo.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[29/189] Compiling mParticle_Apple_SDK_Swift MPMessageBatcher.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[30/189] Compiling mParticle_Apple_SDK_Swift MPMessageBuilder.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
[31/189] Compiling mParticle_Apple_SDK_Swift MPMessageBuilderFields.swift
/host/spi-builder-workspace/mParticle-Apple-SDK-Swift/Sources/Backend/MPBackendAssembly.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// What the backend's collaborators call back on the controller that owns them. Each call goes
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/44] Write swift-version-24593BA9C3E375BF.txt
[2/170] Compiling RoktContracts RoktEvent.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/172] Emitting module RoktContracts
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[4/172] Compiling RoktContracts RoktPrivacyControl.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[5/172] Compiling RoktContracts RoktConfig.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[6/172] Compiling RoktContracts PaymentTypes.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[7/186] Compiling RoktContracts RoktEmbeddedView.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[8/186] Compiling RoktContracts PaymentExtension.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
[9/186] Compiling RoktContracts RoktPlacementOptions.swift
/host/spi-builder-workspace/.build/checkouts/rokt-contracts-apple/Sources/RoktContracts/Events/RoktEvent.swift:1:8: error: no such module 'CoreGraphics'
  1 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  2 | import Foundation
  3 |
BUILD FAILURE 6.1 wasm