The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SentryCocoaLumberjack, reference main (e30623), with Swift 6.0 for Linux on 27 Nov 2024 16:26:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bruno-garcia/SentryCocoaLumberjack.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/bruno-garcia/SentryCocoaLumberjack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack
Fetching https://github.com/getsentry/sentry-cocoa
[1/18338] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (0.65s)
[1/132163] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa from cache (4.67s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.44s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.8.5 (0.39s)
Fetching https://github.com/apple/swift-log
[1/3698] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.34s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.37s)
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
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/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
[0/141] Compiling CocoaLumberjackSwiftSupport empty.c
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/NSArray+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 NSArray+SentrySanitize.m
[0/141] Compiling Sentry SentryCrashStackEntryMapper.m
[0/141] Compiling Sentry NSData+SentryCompression.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/141] Compiling Sentry NSString+SentryUnsignedLongLongValue.m
BUILD FAILURE 6.0 linux