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 XprobePlugin, reference main (c80f08), with Swift 6.0 for Linux on 1 Dec 2024 21:26:17 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.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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/XprobePlugin.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/johnno1962/XprobePlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c80f086 WatchOS
Submodule path 'codemirror5': checked out 'be9e01eedbf33282fe85ebec69d026e12a6e2959'
Submodule 'codemirror5' (https://github.com/codemirror/codemirror5) registered for path 'codemirror5'
Cloning into '/host/spi-builder-workspace/codemirror5'...
Cloned https://github.com/johnno1962/XprobePlugin.git
Revision (git rev-parse @):
c80f086ca7038c5e9236e1b15fea3f9e59395183
SUCCESS checkout https://github.com/johnno1962/XprobePlugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/johnno1962/XprobePlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/johnno1962/SwiftTrace
[1/2067] Fetching swifttrace
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.32s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.43s)
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Building for debugging...
[0/21] Compiling XprobeSweep XprobeSweep.m
In file included from /host/spi-builder-workspace/Sources/XprobeUI/XprobePluginMenuController.m:11:
/host/spi-builder-workspace/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[1/21] Compiling XprobeUI XprobePluginMenuController.m
[1/21] Compiling SwiftTraceGutsD fishhook.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/fast_dladdr.mm:10:
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
   16 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/21] Compiling SwiftTraceGutsD fast_dladdr.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/SwiftTrace.mm:10:
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
   16 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/21] Compiling SwiftTraceGutsD SwiftTrace.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/Trampolines.mm:11:
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
   16 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/21] Compiling SwiftTraceGutsD Trampolines.mm
In file included from /host/spi-builder-workspace/Sources/XprobeUI/XprobeConsole.m:11:
/host/spi-builder-workspace/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/ObjCBridge.mm:11:
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
   16 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/21] Compiling SwiftTraceGutsD ObjCBridge.mm
[1/21] Compiling XprobeUI XprobeConsole.m
[1/21] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux