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 RollbarSDK, reference master (ffd970), with Swift 6.2 (beta) for Wasm on 23 Jul 2025 18:31:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/rollbar/rollbar-apple.git
Reference: master
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/rollbar/rollbar-apple
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ffd970a Added example on how to attach stack trace for caught errors (#366)
Cloned https://github.com/rollbar/rollbar-apple.git
Revision (git rev-parse @):
ffd970af3102c35d1d5a856aaba877c2880adee9
SUCCESS checkout https://github.com/rollbar/rollbar-apple.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rollbar/rollbar-apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18627] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (0.91s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.0 (1.39s)
Fetching https://github.com/apple/swift-log
[1/3871] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.40s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.81s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.9.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Building for debugging...
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulEntrySnapper.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulEntrySnapper.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulEntrySnapper.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulOSLogEntryLogLevelConverter.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulOSLogEntryLogLevelConverter.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulOSLogEntryLogLevelConverter.m
[0/148] Compiling RollbarAUL RollbarAulPredicateBuilder.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulLogLevelConverter.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulLogLevelConverter.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulLogLevelConverter.m
/host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/Util/RollbarCrashMemory.c:33:10: fatal error: 'mach/mach.h' file not found
   33 | #include <mach/mach.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[0/148] Compiling RollbarCrashMemory.c
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulClient.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulClient.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulClient.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulStoreMonitor.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulStoreMonitor.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulStoreMonitor.m
[0/148] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm