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 ETTrace, reference main (ea8a0e), with Swift 6.1 for Linux on 29 Apr 2025 17:39:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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:         linux
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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/EmergeTools/peertalk.git
[1/682] Fetching peertalk
[683/6732] Fetching peertalk, swifter
[2498/21682] Fetching peertalk, swifter, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.57s)
Fetched https://github.com/EmergeTools/peertalk.git from cache (1.62s)
Fetched https://github.com/httpswift/swifter.git from cache (1.67s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (5.06s)
Computing version for https://github.com/EmergeTools/peertalk.git
Computed https://github.com/EmergeTools/peertalk.git at 1.0.0 (0.78s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.45s)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.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
[1/39] Compiling FIRCLSUnwind_x86.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>
      |          ^~~~~~~~~~~~~~~~~~~~~~
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:35:9: error: unknown type name '_STRUCT_MCONTEXT'
   35 | typedef _STRUCT_MCONTEXT FIRCLSThreadContext;
      |         ^
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSThreadState.h:40:9: error: unknown type name '_STRUCT_UCONTEXT'
   40 | typedef _STRUCT_UCONTEXT _STRUCT_UCONTEXT64;
      |         ^
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSThreadState.h:45:1: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   45 | uintptr_t FIRCLSThreadContextGetPC(FIRCLSThreadContext* registers);
      | ^~~~~~~~~
      | __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
  207 | __STD_TYPE __SWORD_TYPE __intptr_t;
      |                         ^
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:46:1: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   46 | uintptr_t FIRCLSThreadContextGetStackPointer(const FIRCLSThreadContext* registers);
      | ^~~~~~~~~
      | __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
  207 | __STD_TYPE __SWORD_TYPE __intptr_t;
      |                         ^
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:47:1: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   47 | uintptr_t FIRCLSThreadContextGetFramePointer(const FIRCLSThreadContext* registers);
      | ^~~~~~~~~
      | __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
  207 | __STD_TYPE __SWORD_TYPE __intptr_t;
      |                         ^
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:49:63: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   49 | bool FIRCLSThreadContextSetPC(FIRCLSThreadContext* registers, uintptr_t value);
      |                                                               ^~~~~~~~~
      |                                                               __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
  207 | __STD_TYPE __SWORD_TYPE __intptr_t;
      |                         ^
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:50:73: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   50 | bool FIRCLSThreadContextSetStackPointer(FIRCLSThreadContext* registers, uintptr_t value);
      |                                                                         ^~~~~~~~~
      |                                                                         __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
  207 | __STD_TYPE __SWORD_TYPE __intptr_t;
      |                         ^
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:51:73: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   51 | bool FIRCLSThreadContextSetFramePointer(FIRCLSThreadContext* registers, uintptr_t value);
      |                                                                         ^~~~~~~~~
      |                                                                         __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
  207 | __STD_TYPE __SWORD_TYPE __intptr_t;
      |                         ^
In file included from /host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSThreadState.c:16:
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSDefines.h:17:10: fatal error: 'TargetConditionals.h' file not found
   17 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
[1/39] Compiling FIRCLSUnwind_arm.c
[1/39] Compiling FIRCLSThreadState.c
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Helpers/FIRCLSInternalLogging.c:15:10: fatal error: 'dispatch/dispatch.h' file not found
   15 | #include <disp[1/39] Compiling FIRCLSInternalLogging.c
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:35:9: error: unknown type name '_STRUCT_MCONTEXT'
   35 | typedef _STRUCT_MCONTEXT FIRCLSThreadContext;
      |         ^
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSThreadState.h:40:9: error: unknown type name '_STRUCT_UCONTEXT'
   40 | typedef _STRUCT_UCONTEXT _STRUCT_UCONTEXT64;
      |         ^
/host/spi-builder-workspace/Unwinding/Crashlytics/Crashlytics/Unwind/../Helpers/FIRCLSThreadState.h:45:1: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   45 | uintptr_t[1/39] Compiling FIRCLSUnwind.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
[1/39] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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_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.
[7/39] Compiling FIRCLSUnwind_x86.c
In file included from /host/spi-builder-workspace/.build/checkouts/peertalk/peertalk/PTProtocol.m:1:
/host/spi-builder-workspace/.build/checkouts/peertalk/peertalk/public/PTProtocol.h:15:10: fatal error: 'dispatch/dispatch.h' file not found
   15 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
[7/39] Compiling Peertalk PTProtocol.m
[7/39] Compiling FIRCLSUtility.m
[7/39] Compiling FIRCLSThreadState.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[7/39] Compiling FIRCLSUnwind_arm.c
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:35:9: error: unknown type name '_STRUCT_MCONTEXT'
   35 | typedef _STRUCT_MCONTEXT FIRCLSThreadContext;
      |         ^
[7/39] Compiling FIRCLSUnwind.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>
      |          ^~~~~~~~~~~~~~~~~~~~~
[7/39] Compiling Peertalk PTUSBHub.m
[7/39] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux