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 3.3.3 (2077a0), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 19:29:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/rollbar/rollbar-apple.git
Reference: 3.3.3
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
 * tag               3.3.3      -> FETCH_HEAD
HEAD is now at 2077a05 Bumped version to 3.3.3 (#359)
Cloned https://github.com/rollbar/rollbar-apple.git
Revision (git rev-parse @):
2077a05788a740eea7d804c293c7d5313169b5ed
SUCCESS checkout https://github.com/rollbar/rollbar-apple.git at 3.3.3
========================================
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-4609320-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
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18508] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (1.08s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.8.5 (1.85s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.32s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.74s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.8.5
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...
[0/148] Copying PrivacyInfo.xcprivacy
[1/148] Write sources
In file included from /host/spi-builder-workspace/RollbarCocoaLumberjack/Sources/RollbarCocoaLumberjack/RollbarCocoaLumberjackLogger.m:1:
/host/spi-builder-workspace/RollbarCocoaLumberjack/Sources/RollbarCocoaLumberjack/include/RollbarCocoaLumberjackLogger.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/148] Compiling RollbarCocoaLumberjack RollbarCocoaLumberjackLogger.m
[2/148] Compiling RollbarDeploys RollbarDeploysManager.m
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/NSDictionary+Rollbar.m:1:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:7:12: error: cannot find interface declaration for 'NSDictionary'
    7 | @interface NSDictionary (Rollbar)
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:9:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    9 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:14:1: error: expected identifier or '('
   14 | - (BOOL)rollbar_valuePresentForKey:(nonnull NSString *)key
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:14:4: error: expected a type
   14 | - (BOOL)rollbar_valuePresentForKey:(nonnull NSString *)key
      |    ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:14:45: error: expected a type
   14 | - (BOOL)rollbar_valuePresentForKey:(nonnull NSString *)key
      |                                             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:15:46: error: expected a type
   15 |                        withContext:(nullable NSString *)context;
      |                                              ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:17:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   17 | NS_ASSUME_NONNULL_END
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:19:2: error: prefix attribute must be followed by an interface, protocol, or implementation
   19 | @end
      |  ^
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/NSDictionary+Rollbar.m:2:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:7:13: error: unknown type name 'NSString'
    7 | void RBCLog(NSString *format, ...);
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:10:13: error: unknown type name 'NSString'
   10 | void RBCErr(NSString *format, ...);
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/NSDictionary+Rollbar.m:4:1: error: missing '@end'
    4 | @implementation NSDictionary (Rollbar)
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSDictionary+Rollbar.h:7:1: note: category started here
    7 | @interface NSDictionary[2/148] Compiling RollbarCommon NSDictionary+Rollbar.m
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:1:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:7:13: error: unknown type name 'NSString'
    7 | void RBCLog(NSString *format, ...);
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:10:13: error: unknown type name 'NSString'
   10 | void RBCErr(NSString *format, ...);
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:3:13: error: unknown type name 'NSString'
    3 | void RBCLog(NSString *format, ...) {
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:5:5: error: use of undeclared identifier 'va_list'
    5 |     va_list args;
      |     ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:6:5: error: call to undeclared library function 'va_start' with type 'void (__builtin_va_list &, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    6 |     va_start(args, format);
      |     ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:6:5: note: include the header <stdarg.h> or explicitly provide a declaration for 'va_start'
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:6:14: error: use of undeclared identifier 'args'
    6 |     va_start(args, format);
      |              ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:7:5: error: call to undeclared function 'fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    7 |     fprintf(
      |     ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:7:5: warning: declaration of built-in function 'fprintf' requires inclusion of the header <stdio.h> [-Wbuiltin-requires-header]
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:9:12: error: use of undeclared identifier 'NSString'
    9 |         [[[NSString alloc] initWithFormat:format arguments:args] UTF8String]);
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:8:9: error: use of undeclared identifier 'stdout'
    8 |         stdout, "[Rollbar] %s\n",
      |         ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:10:5: error: call to undeclared library function 'va_end' with type 'void (__builtin_va_list &)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   10 |     va_end(args);
      |     ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:10:5: note: include the header <stdarg.h> or explicitly provide a declaration for 'va_end'
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:10:12: error: use of undeclared identifier 'args'
   10 |     va_end(args);
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:14:13: error: unknown type name 'NSString'
   14 | void RBCErr(NSString *format, ...) {
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:16:5: error: use of undeclared identifier 'va_list'
   16 |     va_list args;
      |     ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:17:14: error: use of undeclared identifier 'args'
   17 |     va_start(args, format);
      |              ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:18:5: error: call to undeclared function 'fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   18 |     fprintf(
      |     ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.m:20:12: error: use of undeclared identifier 'NSString'[2/148] Compiling RollbarCommon RollbarInternalLogging.m
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/NSJSONSerialization+Rollbar.m:1:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:7:12: error: cannot find interface declaration for 'NSJSONSerialization'
    7 | @interface NSJSONSerialization (Rollbar)
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:9:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    9 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:16:1: error: expected identifier or '('
   16 | + (nullable NSData *)rollbar_dataWithJSONObject:(id)obj
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:16:13: error: expected a type
   16 | + (nullable NSData *)rollbar_dataWithJSONObject:(id)obj
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:17:50: error: expected a type
   17 |                                         options:(NSJSONWritingOptions)opt
      |                                                  ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:18:50: error: expected a type
   18 |                                           error:(NSError **)error
      |                                                  ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:19:50: error: expected a type
   19 |                                            safe:(BOOL)safe;
      |                                                  ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:23:12: error: expected a type
   23 | + (nonnull NSMutableDictionary *)rollbar_safeDataFromJSONObject:(nullable id)obj;
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:16:50: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   16 | + (nullable NSData *)rollbar_dataWithJSONObject:(id)obj
      |                                                  ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:16:50: note: insert '_Nullable' if the pointer may be null
   16 | + (nullable NSData *)rollbar_dataWithJSONObject:(id)obj
      |                                                  ^
      |                                                     _Nullable
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:16:50: note: insert '_Nonnull' if the pointer should never be null
   16 | + (nullable NSData *)rollbar_dataWithJSONObject:(id)obj
      |                                                  ^
      |                                                     _Nonnull
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:27:51: error: expected a type
   27 | + (unsigned long)rollbar_measureJSONDataByteSize:(NSData *)jsonData;
      |                                                   ^
[2/148] Compiling RollbarCommon NSJSONSerialization+Rollbar.m
In file included from /host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_System.m:28:
In file included from /host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/include/RollbarCrashMonitor_System.h:35:
In file included from /host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/include/RollbarCrashMonitor.h:41:
/host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/include/RollbarCrashThread.h:39:9: error: unknown type name 'uintptr_t'
   39 | typedef uintptr_t RollbarCrashThread;
      |         ^
In file included from /host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_System.m:30:
In file included from /host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/Util/RollbarCrashCPU.h:35:
/host/spi-builder-workspace/RollbarNotifier/Sources/RollbarCrash/include/RollbarCrashMachineContext.h:37:10: fatal error: 'mach/mach.h' file not found
   37 | #include <mach/mach.h>
      |          ^~~~~~~~~~~~~
[2/148] Compiling RollbarCrashMonitor_System.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulStoreMonitorOptions.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulStoreMonitorOptions.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[2/148] Compiling RollbarAUL RollbarAulStoreMonitorOptions.m
[2/148] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm