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 Sentry, reference main (831372), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 16:20:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/getsentry/sentry-cocoa.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/getsentry/sentry-cocoa
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 831372a CHANGELOG for 8.53.0 (#5465)
Cloned https://github.com/getsentry/sentry-cocoa.git
Revision (git rev-parse @):
831372a3617378af22e25f2dbe612ae83b44e573
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsentry/sentry-cocoa.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/getsentry/sentry-cocoa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip
[1369/39940723] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip
[259303/138973372] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip, https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip (4.69s)
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip (10.88s)
Building for debugging...
[0/4] Write sources
[2/4] Compiling SentryInternal.m
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/48] Compiling SentrySwiftUI SentryReplayMaskPreviewUIView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/48] Emitting module SentryCoreSwift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[7/48] Compiling SentryCoreSwift Locks.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[8/48] Compiling SentryCoreSwift NumberExtensions.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[9/48] Compiling SentryCoreSwift StringExtensions.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[10/48] Compiling SentryCoreSwift UIViewExtensions.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[11/48] Compiling SentryCoreSwift SentryLevel.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[12/52] Compiling SentryCoreSwift SentryViewPhotographer.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[13/52] Compiling SentryCoreSwift SentryViewRenderer.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[14/52] Compiling SentryCoreSwift SentryViewRendererV2.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[15/52] Compiling SentryCoreSwift SentryViewScreenshotProvider.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[16/52] Compiling SentryCoreSwift SentryMaskRendererV2.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[17/52] Compiling SentryCoreSwift SentryRedactRegion.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[18/52] Compiling SentryCoreSwift SentryRedactRegionType.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[19/52] Compiling SentryCoreSwift SentryRedactViewHelper.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[20/52] Compiling SentryCoreSwift SentryUIRedactBuilder.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[21/52] Compiling SentryCoreSwift UrlSanitized.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[22/52] Compiling SentryCoreSwift SentryDefaultMaskRenderer.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[23/52] Compiling SentryCoreSwift SentryDefaultViewRenderer.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[24/52] Compiling SentryCoreSwift SentryGraphicsImageRenderer.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[25/52] Compiling SentryCoreSwift SentryMaskRenderer.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[26/52] Compiling SentrySwiftUI PreviewRedactOptions.swift
[27/52] Emitting module SentrySwiftUI
[28/52] Compiling SentrySwiftUI SentryReplayMaskPreview.swift
[29/52] Compiling SentryCoreSwift SwiftDescriptor.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[30/52] Compiling SentryCoreSwift HTTPHeaderSanitizer.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[31/52] Compiling SentryCoreSwift SentryLog.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[32/52] Compiling SentryCoreSwift UIImageHelper.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[33/52] Compiling SentryCoreSwift URLSessionTaskHelper.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[34/52] Compiling SentryCoreSwift SentryMXCallStackTree.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[35/52] Compiling SentryCoreSwift SentryMXManager.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[36/52] Compiling SentryCoreSwift SentryId.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[37/52] Compiling SentryCoreSwift SentryRedactOptions.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[38/52] Compiling SentryCoreSwift SentryViewControllerBreadcrumbTracking.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[39/52] Compiling SentryCoreSwift SentryBaggageSerialization.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[40/52] Compiling SentryCoreSwift SentryCurrentDateProvider.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[41/52] Compiling SentryCoreSwift SentryFileContents.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[42/52] Compiling SentryCoreSwift SentryANRTracker.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[43/52] Compiling SentryCoreSwift SentryANRTrackerV2Delegate.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[44/52] Compiling SentryCoreSwift SentryANRType.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[45/52] Compiling SentryCoreSwift SentryFramesDelayResult.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[46/52] Compiling SentryCoreSwift SentryProfileOptions.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[47/52] Compiling SentryCoreSwift SentryTransactionNameSource.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[48/52] Compiling SentryCoreSwift SwizzleClassNameExclude.swift
/host/spi-builder-workspace/Sources/Swift/Core/Extensions/Locks.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Be aware that NSLock isn't reentrant, so if you need re-entrancy, use NSRecursiveLock instead.
[49/52] Compiling SentrySwiftUI SentryTracedView.swift
[50/52] Compiling SentrySwiftUI SentryTraceOrigin.swift
[51/52] Compiling SentrySwiftUI SentrySpanOperation.swift
BUILD FAILURE 6.2 wasm