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 SentryCocoaLumberjack, reference 0.0.1-alpha.2 (e30623), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 16:42:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/bruno-garcia/SentryCocoaLumberjack.git
Reference: 0.0.1-alpha.2
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/bruno-garcia/SentryCocoaLumberjack
 * tag               0.0.1-alpha.2 -> FETCH_HEAD
HEAD is now at e30623b build
Cloned https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Revision (git rev-parse @):
e30623b76a27647e87d8cba0752724b782ec40ab
SUCCESS checkout https://github.com/bruno-garcia/SentryCocoaLumberjack.git at 0.0.1-alpha.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack
Fetching https://github.com/getsentry/sentry-cocoa
[1/18508] Fetching cocoalumberjack
[18509/181166] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (8.07s)
Fetched https://github.com/getsentry/sentry-cocoa from cache (8.22s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (10.05s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.8.5 (0.93s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.71s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.34s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack resolved at 3.8.5
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilterBasic.m:27:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilterBasic.h:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilter.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Filters SentryCrashReportFilterBasic.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/Tools/Container+SentryDeepSearch.m:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/Tools/Container+SentryDeepSearch.h:53:9: fatal error: 'Foundation/Foundation.h' file not found
   53 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Tools Container+SentryDeepSearch.m
[0/141] Compiling Tools SentryCrashSymbolicator.c
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.c:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.h:37:9: error: unknown type name 'uintptr_t'
   37 | typedef uintptr_t SentryCrashThread;
      |         ^
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.c:35:10: fatal error: 'dispatch/dispatch.h' file not found
   35 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/141] Compiling Tools SentryCrashThread.c
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.c:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.h:39:10: fatal error: 'sys/sysctl.h' file not found
   39 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
[0/141] Compiling Tools SentryCrashSysCtl.c
[0/141] Compiling Tools SentryCrashString.c
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Tools/SentryCrashCString.m:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Tools/SentryCrashCString.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Tools SentryCrashCString.m
[0/141] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm