The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ETTrace, reference main (ea8a0e), with Swift 6.1 for Wasm on 29 May 2025 20:54:34 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmergeTools/ETTrace.git
Reference: main
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/EmergeTools/ETTrace
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ea8a0ec Add more options (#108)
Cloned https://github.com/EmergeTools/ETTrace.git
Revision (git rev-parse @):
ea8a0ec37872d732992f1d6fdd2b0307f463eb65
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/EmergeTools/ETTrace.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/EmergeTools/ETTrace.git
https://github.com/EmergeTools/ETTrace.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
    {
      "identity" : "peertalk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmergeTools/peertalk.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter.git"
    }
  ],
  "manifest_display_name" : "ETTrace",
  "name" : "ETTrace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ETTrace",
      "targets" : [
        "ETTrace"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "Tracer",
      "targets" : [
        "Tracer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Symbolicator",
      "targets" : [
        "Symbolicator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ETTraceRunner",
      "targets" : [
        "ETTraceRunner"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Unwinding",
      "module_type" : "ClangTarget",
      "name" : "Unwinding",
      "path" : "Unwinding/Crashlytics",
      "product_memberships" : [
        "ETTrace",
        "Tracer"
      ],
      "sources" : [
        "Crashlytics/Components/FIRCLSEmerge.c",
        "Crashlytics/Helpers/FIRCLSInternalLogging.c",
        "Crashlytics/Helpers/FIRCLSLogger.m",
        "Crashlytics/Helpers/FIRCLSThreadState.c",
        "Crashlytics/Helpers/FIRCLSUtility.m",
        "Crashlytics/Unwind/FIRCLSUnwind.c",
        "Crashlytics/Unwind/FIRCLSUnwind_arm.c",
        "Crashlytics/Unwind/FIRCLSUnwind_x86.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TracerSwift",
      "module_type" : "SwiftTarget",
      "name" : "TracerSwift",
      "path" : "ETTrace/TracerSwift",
      "product_memberships" : [
        "ETTrace",
        "Tracer"
      ],
      "sources" : [
        "ThreadHelper.swift",
        "UnsafeRawPointer+Commands.swift"
      ],
      "target_dependencies" : [
        "Unwinding"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Tracer",
      "module_type" : "ClangTarget",
      "name" : "Tracer",
      "path" : "ETTrace/Tracer",
      "product_memberships" : [
        "ETTrace",
        "Tracer"
      ],
      "sources" : [
        "EMGStackTraceRecorder.cpp",
        "EMGTracer+PrintThreads.m",
        "EMGTracer.mm",
        "EMGWriteLibraries.m"
      ],
      "target_dependencies" : [
        "Unwinding",
        "TracerSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Symbolicator",
      "module_type" : "SwiftTarget",
      "name" : "Symbolicator",
      "path" : "ETTrace/Symbolicator",
      "product_memberships" : [
        "Symbolicator",
        "ETTraceRunner"
      ],
      "sources" : [
        "FlamegraphGenerator.swift",
        "Models.swift",
        "Symbolicator.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "ETModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONWrapper",
      "module_type" : "ClangTarget",
      "name" : "JSONWrapper",
      "path" : "ETTrace/JSONWrapper",
      "product_memberships" : [
        "ETTraceRunner"
      ],
      "sources" : [
        "JSONWrapper.m"
      ],
      "target_dependencies" : [
        "ETModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ETTraceRunner",
      "module_type" : "SwiftTarget",
      "name" : "ETTraceRunner",
      "path" : "ETTrace/ETTraceRunner",
      "product_dependencies" : [
        "Peertalk",
        "ArgumentParser",
        "Swifter"
      ],
      "product_memberships" : [
        "ETTraceRunner"
      ],
      "sources" : [
        "ConnectivityHelper.swift",
        "Devices/CommunicationChannel.swift",
        "Devices/DeviceManager.swift",
        "Devices/PhysicalDeviceManager.swift",
        "Devices/SimulatorDeviceManager.swift",
        "ETTrace.swift",
        "ProcessSelector.swift",
        "ResponseModels/ResponseModel.swift",
        "RunnerHelper.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "CommunicationFrame",
        "JSONWrapper",
        "ETModels",
        "Symbolicator"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ETTrace",
      "module_type" : "ClangTarget",
      "name" : "ETTrace",
      "path" : "ETTrace/ETTrace",
      "product_dependencies" : [
        "Peertalk"
      ],
      "product_memberships" : [
        "ETTrace"
      ],
      "sources" : [
        "EMGChannelListener.m",
        "EMGPerfAnalysis.mm"
      ],
      "target_dependencies" : [
        "Tracer",
        "CommunicationFrame"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ETModels",
      "module_type" : "SwiftTarget",
      "name" : "ETModels",
      "path" : "ETTrace/ETModels",
      "product_memberships" : [
        "Symbolicator",
        "ETTraceRunner"
      ],
      "sources" : [
        "FlameNode.swift",
        "Flamegraph.swift",
        "FlamegraphEvent.swift",
        "Sample.swift",
        "ThreadNode.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommunicationFrame",
      "module_type" : "ClangTarget",
      "name" : "CommunicationFrame",
      "path" : "ETTrace/CommunicationFrame",
      "product_memberships" : [
        "ETTrace",
        "ETTraceRunner"
      ],
      "sources" : [
        "EMGDummyEmptyClass.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/EmergeTools/peertalk.git
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6050] Fetching swifter
[243/6732] Fetching swifter, peertalk
Fetched https://github.com/EmergeTools/peertalk.git from cache (0.60s)
[1574/21429] Fetching swifter, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.84s)
Fetched https://github.com/httpswift/swifter.git from cache (2.10s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (6.35s)
Computing version for https://github.com/EmergeTools/peertalk.git
Computed https://github.com/EmergeTools/peertalk.git at 1.0.0 (1.19s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.07s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/EmergeTools/peertalk.git
Working copy of https://github.com/EmergeTools/peertalk.git resolved at 1.0.0
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSLogger.m:15:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSLogger.h:15:9: fatal error: 'Foundation/Foundation.h' file not found
   15 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/39] Compiling FIRCLSLogger.m
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind_arm.c:15:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSDefines.h:17:10: fatal error: 'TargetConditionals.h' file not found
   17 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/39] Compiling FIRCLSUnwind_arm.c
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSThreadState.c:15:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSThreadState.h:18:10: fatal error: 'sys/ucontext.h' file not found
   18 | #include <sys/ucontext.h>
      |          ^~~~~~~~~~~~~~~~
[1/39] Compiling FIRCLSThreadState.c
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSUtility.m:15:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSUtility.h:17:10: fatal error: 'mach/vm_types.h' file not found
   17 | #include <mach/vm_types.h>
      |          ^~~~~~~~~~~~~~~~~
1 error generated.
[1/39] Compiling FIRCLSUtility.m
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind.c:15:
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind.h:17:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSThreadState.h:18:10: fatal error: 'sys/ucontext.h' file not found
   18 | #include <sys/ucontext.h>
      |          ^~~~~~~~~~~~~~~~
[1/39] Compiling FIRCLSUnwind.c
[1/39] Compiling FIRCLSInternalLogging.c
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind_x86.c:15:
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind_x86.h:17:
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSFeatures.h:17:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSDefines.h:17:10: fatal error: 'TargetConditionals.h' file not found
   17 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1[1/39] Compiling FIRCLSUnwind_x86.c
[1/39] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/39] Write sources
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind.c:15:
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind.h:17:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSThreadState.h:18:10: fatal error: 'sys/ucontext.h' file not found
   18 | #include <sys/ucontext.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[6/39] Compiling FIRCLSUnwind.c
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind_arm.c:15:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSDefines.h:17:10: fatal error: 'TargetConditionals.h' file not found
   17 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/39] Compiling FIRCLSUnwind_arm.c
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind_x86.c:15:
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/FIRCLSUnwind_x86.h:17:
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSFeatures.h:17:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSDefines.h:17:10: fatal error: 'TargetConditionals.h' file not found
   17 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/39] Compiling FIRCLSUnwind_x86.c
[6/39] Compiling FIRCLSUtility.m
[6/39] Compiling FIRCLSLogger.m
[6/39] Compiling FIRCLSThreadState.c
In file included from /host/spi-builder-workspace/.build/checkouts/peertalk/peertalk/PTUSBHub.m:1:
/host/spi-builder-workspace/.build/checkouts/peertalk/peertalk/public/PTUSBHub.h:1:10: fatal error: 'dispatch/dispatch.h' file not found
    1 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/39] Compiling Peertalk PTUSBHub.m
[6/39] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm