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 8.52.1 (930b78), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 08:15:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/getsentry/sentry-cocoa.git
Reference: 8.52.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/getsentry/sentry-cocoa
 * tag               8.52.1     -> FETCH_HEAD
HEAD is now at 930b78a release: 8.52.1
Cloned https://github.com/getsentry/sentry-cocoa.git
Revision (git rev-parse @):
930b78a63f47549c81e6e63c9172584f7d3dfdd6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsentry/sentry-cocoa.git at 8.52.1
========================================
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-4606859-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
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip
[1369/39940723] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip
[9656/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 (5.68s)
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip (12.86s)
Building for debugging...
[0/4] Write sources
[2/4] Compiling SentryInternal.m
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/47] 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.
[6/51] Compiling SentrySwiftUI SentryTracedView.swift
[7/51] 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.
[8/51] 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.
[9/51] 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.
[10/51] Compiling SentryCoreSwift UIRedactBuilder.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/51] Compiling SentryCoreSwift SentryExperimentalOptions.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/51] 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.
[13/51] 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.
[14/51] 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.
[15/51] Compiling SentryCoreSwift SentryLogOutput.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/51] Compiling SentrySwiftUI PreviewRedactOptions.swift
[17/51] Emitting module SentrySwiftUI
[18/51] Compiling SentrySwiftUI SentryTraceOrigin.swift
[19/51] Compiling SentrySwiftUI SentryReplayView.swift
[20/51] 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.
[21/51] 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.
[22/51] 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.
[23/51] 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.
[24/51] 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.
[25/51] 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.
[26/51] 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.
[27/51] 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.
[28/51] 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.
[29/51] 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.
[30/51] 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.
[31/51] 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.
[32/51] 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.
[33/51] 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.
[34/51] 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.
[35/51] 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.
[36/51] 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.
[37/51] 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.
[38/51] 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.
[39/51] 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.
[40/51] 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.
[41/51] 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.
[42/51] 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.
[43/51] 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.
[44/51] 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.
[45/51] 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.
[46/51] 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.
[47/51] 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.
[48/51] 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.
[49/51] Compiling SentrySwiftUI SentryReplayMaskPreviewUIView.swift
[50/51] Compiling SentrySwiftUI SentrySpanOperation.swift
[51/51] Compiling SentrySwiftUI SentryReplayMaskPreview.swift
BUILD FAILURE 6.2 wasm