The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PLCrashReporter, reference 1.12.2 (0254f9), with Swift 6.1 for Wasm on 12 Nov 2025 21:26:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/plcrashreporter.git
Reference: 1.12.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/microsoft/plcrashreporter
 * tag               1.12.2     -> FETCH_HEAD
HEAD is now at 0254f94 Merge pull request #353 from microsoft/release/1.12.2
Cloned https://github.com/microsoft/plcrashreporter.git
Revision (git rev-parse @):
0254f941c646b1ed17b243654723d0f071e990d0
SUCCESS checkout https://github.com/microsoft/plcrashreporter.git at 1.12.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/microsoft/plcrashreporter.git
https://github.com/microsoft/plcrashreporter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "PLCrashReporter",
  "name" : "PLCrashReporter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "CrashReporter",
      "targets" : [
        "CrashReporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CrashReporter",
      "module_type" : "ClangTarget",
      "name" : "CrashReporter",
      "path" : ".",
      "product_memberships" : [
        "CrashReporter"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Dependencies/protobuf-c/protobuf-c/protobuf-c.c",
        "Source/CrashReporter.m",
        "Source/CrashReporterFramework.m",
        "Source/PLCrashAsync.c",
        "Source/PLCrashAsyncCompactUnwindEncoding.c",
        "Source/PLCrashAsyncDwarfCFAState.cpp",
        "Source/PLCrashAsyncDwarfCFAStateEvaluation.cpp",
        "Source/PLCrashAsyncDwarfCIE.cpp",
        "Source/PLCrashAsyncDwarfEncoding.cpp",
        "Source/PLCrashAsyncDwarfExpression.cpp",
        "Source/PLCrashAsyncDwarfFDE.cpp",
        "Source/PLCrashAsyncDwarfPrimitives.cpp",
        "Source/PLCrashAsyncImageList.cpp",
        "Source/PLCrashAsyncMObject.c",
        "Source/PLCrashAsyncMachExceptionInfo.c",
        "Source/PLCrashAsyncMachOImage.c",
        "Source/PLCrashAsyncMachOString.c",
        "Source/PLCrashAsyncObjCSection.mm",
        "Source/PLCrashAsyncSignalInfo.c",
        "Source/PLCrashAsyncSymbolication.c",
        "Source/PLCrashAsyncThread.c",
        "Source/PLCrashAsyncThread_arm.c",
        "Source/PLCrashAsyncThread_current.S",
        "Source/PLCrashAsyncThread_current.c",
        "Source/PLCrashAsyncThread_x86.c",
        "Source/PLCrashFrameCompactUnwind.c",
        "Source/PLCrashFrameDWARFUnwind.cpp",
        "Source/PLCrashFrameStackUnwind.c",
        "Source/PLCrashFrameWalker.c",
        "Source/PLCrashHostInfo.m",
        "Source/PLCrashLogWriter.m",
        "Source/PLCrashLogWriterEncoding.c",
        "Source/PLCrashMachExceptionPort.m",
        "Source/PLCrashMachExceptionPortSet.m",
        "Source/PLCrashMachExceptionServer.m",
        "Source/PLCrashProcessInfo.m",
        "Source/PLCrashReport.m",
        "Source/PLCrashReport.pb-c.c",
        "Source/PLCrashReportApplicationInfo.m",
        "Source/PLCrashReportBinaryImageInfo.m",
        "Source/PLCrashReportExceptionInfo.m",
        "Source/PLCrashReportMachExceptionInfo.m",
        "Source/PLCrashReportMachineInfo.m",
        "Source/PLCrashReportProcessInfo.m",
        "Source/PLCrashReportProcessorInfo.m",
        "Source/PLCrashReportRegisterInfo.m",
        "Source/PLCrashReportSignalInfo.m",
        "Source/PLCrashReportStackFrameInfo.m",
        "Source/PLCrashReportSymbolInfo.m",
        "Source/PLCrashReportSystemInfo.m",
        "Source/PLCrashReportTextFormatter.m",
        "Source/PLCrashReportThreadInfo.m",
        "Source/PLCrashReporter.m",
        "Source/PLCrashReporterConfig.m",
        "Source/PLCrashReporterNSError.m",
        "Source/PLCrashSignalHandler.mm",
        "Source/PLCrashSysctl.c",
        "Source/PLCrashUncaughtExceptionHandler.m",
        "Source/dwarf_opstream.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/62] Copying PrivacyInfo.xcprivacy
[0/62] Copying Info.plist
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/62] Compiling PLCrashUncaughtExceptionHandler.m
[2/62] Compiling CrashReporter resource_bundle_accessor.m
[2/62] Compiling PLCrashReporterConfig.m
In file included from /host/spi-builder-workspace/Source/PLCrashSysctl.c:29:
/host/spi-builder-workspace/Source/PLCrashSysctl.h:40:10: fatal error: 'sys/sysctl.h' file not found
   40 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
[2/62] Compiling PLCrashSysctl.c
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling PLCrashReporter.m
[2/62] Compiling dwarf_opstream.cpp
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling PLCrashSignalHandler.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/62] Compiling PLCrashReporterNSError.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling PLCrashUncaughtExceptionHandler.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling PLCrashReporterNSError.m
[0/60] Compiling CrashReporter resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CrashReporter.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/60] Compiling PLCrashSignalHandler.mm
[0/60] Compiling PLCrashReporter.m
[0/60] Compiling dwarf_opstream.cpp
In file included from /host/spi-builder-workspace/Source/PLCrashSysctl.c:29:
/host/spi-builder-workspace/Source/PLCrashSysctl.h:40:10: fatal error: 'sys/sysctl.h' file not found
   40 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
[0/60] Compiling PLCrashSysctl.c
[0/60] Compiling PLCrashReporterConfig.m
BUILD FAILURE 6.1 wasm