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 SentryCocoaLumberjack, reference 0.0.1-alpha.2 (e30623), with Swift 6.1 for Linux on 26 Apr 2025 02:34:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Reference: 0.0.1-alpha.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/bruno-garcia/SentryCocoaLumberjack
 * tag               0.0.1-alpha.2 -> FETCH_HEAD
HEAD is now at e30623b build
Cloned https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Revision (git rev-parse @):
e30623b76a27647e87d8cba0752724b782ec40ab
SUCCESS checkout https://github.com/bruno-garcia/SentryCocoaLumberjack.git at 0.0.1-alpha.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sentry-cocoa",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getsentry/sentry-cocoa"
    },
    {
      "identity" : "cocoalumberjack",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.6.2",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CocoaLumberjack/CocoaLumberjack"
    }
  ],
  "manifest_display_name" : "SentryCocoaLumberjack",
  "name" : "SentryCocoaLumberjack",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "SentryCocoaLumberjack",
      "targets" : [
        "SentryCocoaLumberjack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SentryCocoaLumberjack",
      "module_type" : "SwiftTarget",
      "name" : "SentryCocoaLumberjack",
      "path" : "Sources/SentryCocoaLumberjack",
      "product_dependencies" : [
        "Sentry",
        "CocoaLumberjackSwift"
      ],
      "product_memberships" : [
        "SentryCocoaLumberjack",
        "Example"
      ],
      "sources" : [
        "SentryLogger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Example",
      "product_dependencies" : [
        "Sentry",
        "CocoaLumberjackSwift"
      ],
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SentryCocoaLumberjack"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/CocoaLumberjack/CocoaLumberjack
Fetching https://github.com/getsentry/sentry-cocoa
[1/18504] Fetching cocoalumberjack
[18505/169480] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (6.21s)
Fetched https://github.com/getsentry/sentry-cocoa from cache (6.29s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (6.84s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.8.5 (0.45s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.30s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.76s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack resolved at 3.8.5
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSString+SentryUnsignedLongLongValue.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSString+SentryUnsignedLongLongValue.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryBreadcrumb.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryBreadcrumb.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Sentry SentryBreadcrumb.m
[0/141] Compiling Sentry NSString+SentryUnsignedLongLongValue.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryDebugMetaBuilder.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryDebugMetaBuilder.h:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryCrashBinaryImageProvider.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashDynamicLinker.h:100:52: error: unknown type name 'Dl_info'
  100 | bool sentrycrashdl_dladdr(const uintptr_t address, Dl_info *const info);
      |                                                    ^
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryDebugMetaBuilder.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryDebugMetaBuilder.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryCrashBinaryImageProvider.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/141] Compiling Sentry SentryDebugMetaBuilder.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryAsynchronousOperation.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryAsynchronousOperation.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Sentry SentryAsynchronousOperation.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSDate+SentryExtras.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSDate+SentryExtras.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Sentry NSDate+SentryExtras.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSData+SentryCompression.m:5:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSData+SentryCompression.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/141] Compiling Sentry NSData+SentryCompression.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSDictionary+SentrySanitize.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSArray+SentrySanitize.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Sentry NSDictionary+SentrySanitize.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryAutoSessionTrackingIntegration.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryAutoSessionTrackingIntegration.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryIntegrationProtocol.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling Sentry SentryAutoSessionTrackingIntegration.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
[0/1] Planning build
Building for debugging...
[0/141] Write sources
[1/141] Copying PrivacyInfo.xcprivacy
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/Tools/Container+SentryDeepSearch.m:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/Tools/Container+SentryDeepSearch.h:53:9: fatal error: 'Foundation/Foundation.h' file not found
   53 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/141] Compiling Tools Container+SentryDeepSearch.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilterBasic.m:27:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilterBasic.h:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilter.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSymbolicator.c:25:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSymbolicator.h:32:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashStackCursor.h:32:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.h:34:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.h:37:9: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   37 | typedef uintptr_t SentryCrashThread;
      |         ^~~~~~~~~
      |         __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/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSymbolicator.c:25:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSymbolicator.h:32:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashStackCursor.h:46:9: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   46 |         uintptr_t address;
      |         ^~~~~~~~~
      |         __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/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSymbolicator.c[3/141] Compiling Tools SentryCrashSymbolicator.c
[3/141] Compiling Filters SentryCrashReportFilterBasic.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.c:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.h:37:9: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
   37 | typedef uintptr_t SentryCrashThread;
      |         ^~~~~~~~~
      |         __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;
      |                         ^
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.c:35:10: fatal error: 'dispatch/dispatch.h' file not found
   35 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
[3/141] Compiling Tools SentryCrashThread.c
[3/141] Compiling Tools SentryCrashString.c
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.c:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.h:39:10: fatal error: 'sys/sysctl.h' file not found
   39 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
[3/141] Compiling Tools SentryCrashSysCtl.c
[3/141] Compiling Tools SentryCrashCString.m
[3/141] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux