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 SGPKit, reference main (cbc9a6), with Swift 6.1 for Linux on 27 Apr 2025 01:37:06 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/csanfilippo/swift-sgp4.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/csanfilippo/swift-sgp4
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cbc9a67 Introducing TLEParser
Cloned https://github.com/csanfilippo/swift-sgp4.git
Revision (git rev-parse @):
cbc9a67b1851541d939b0106e003d85c7257ce63
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/csanfilippo/swift-sgp4.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/csanfilippo/swift-sgp4.git
https://github.com/csanfilippo/swift-sgp4.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.0.0",
            "upper_bound" : "11.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SGPKit",
  "name" : "SGPKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SGPKit",
      "targets" : [
        "SGPKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SGPKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SGPKitTests",
      "path" : "Tests/SGPKitTests",
      "product_dependencies" : [
        "Nimble",
        "Quick"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SGPKitTests/Mocks",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SPGKitTests.swift",
        "TLEParserTests.swift"
      ],
      "target_dependencies" : [
        "SGPKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SGPKitOBJC",
      "module_type" : "ClangTarget",
      "name" : "SGPKitOBJC",
      "path" : "Sources/OBJC",
      "product_memberships" : [
        "SGPKit"
      ],
      "sources" : [
        "SGP4Wrapper.mm",
        "SatelliteData.m",
        "TLEWrapper.m"
      ],
      "target_dependencies" : [
        "SGPKitCPP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SGPKitCPP",
      "module_type" : "ClangTarget",
      "name" : "SGPKitCPP",
      "path" : "Sources/sgp4-f5cb54b",
      "product_memberships" : [
        "SGPKit"
      ],
      "sources" : [
        "CoordGeodetic.cc",
        "CoordTopocentric.cc",
        "DateTime.cc",
        "DecayedException.cc",
        "Eci.cc",
        "Globals.cc",
        "Observer.cc",
        "OrbitalElements.cc",
        "SGP4.cc",
        "SatelliteException.cc",
        "SolarPosition.cc",
        "TimeSpan.cc",
        "Tle.cc",
        "TleException.cc",
        "Util.cc",
        "Vector.cc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SGPKit",
      "module_type" : "SwiftTarget",
      "name" : "SGPKit",
      "path" : "Sources/SGPKit",
      "product_memberships" : [
        "SGPKit"
      ],
      "sources" : [
        "Interpreter.swift",
        "Model.swift",
        "TLEParser.swift"
      ],
      "target_dependencies" : [
        "SGPKitOBJC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/apple/swift-docc-plugin
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/2049] Fetching swift-docc-plugin
[227/16804] Fetching swift-docc-plugin, quick
[10461/36371] Fetching swift-docc-plugin, quick, nimble
Fetched https://github.com/Quick/Quick from cache (0.56s)
[17703/21616] Fetching swift-docc-plugin, nimble
Fetched https://github.com/apple/swift-docc-plugin from cache (1.10s)
Fetched https://github.com/Quick/Nimble from cache (1.12s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 10.0.0 (1.63s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.23s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 5.0.1 (0.77s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.54s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (2.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.51s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3375] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.20s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 10.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 5.0.1
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/Info.plist
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/OBJC/TLEWrapper.m:25:
/host/spi-builder-workspace/Sources/OBJC/include/TLEWrapper.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
   25 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/23] Compiling SGPKitOBJC TLEWrapper.m
[2/23] Compiling SGPKitCPP Observer.cc
In file included from /host/spi-builder-workspace/Sources/OBJC/SatelliteData.m:25:
/host/spi-builder-workspace/Sources/OBJC/include/SatelliteData.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
   25 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/23] Compiling SGPKitOBJC SatelliteData.m
[2/23] Compiling SGPKitCPP DecayedException.cc
[2/23] Compiling SGPKitCPP Globals.cc
[2/23] Compiling SGPKitCPP CoordTopocentric.cc
[2/23] Compiling SGPKitCPP DateTime.cc
[2/23] Write swift-version-24593BA9C3E375BF.txt
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: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/Info.plist
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/23] Write sources
In file included from /host/spi-builder-workspace/Sources/OBJC/TLEWrapper.m:25:
/host/spi-builder-workspace/Sources/OBJC/include/TLEWrapper.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
   25 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/23] Compiling SGPKitOBJC TLEWrapper.m
[3/23] Compiling SGPKitCPP Tle.cc
In file included from /host/spi-builder-workspace/Sources/OBJC/SGP4Wrapper.mm:25:
/host/spi-builder-workspace/Sources/OBJC/include/SGP4Wrapper.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
   25 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/23] Compiling SGPKitOBJC SGP4Wrapper.mm
[3/23] Compiling SGPKitCPP Util.cc
[3/23] Compiling SGPKitCPP TleException.cc
[3/23] Compiling SGPKitCPP Vector.cc
In file included from /host/spi-builder-workspace/Sources/OBJC/SatelliteData.m:25:
/host/spi-builder-workspace/Sources/OBJC/include/SatelliteData.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
   25 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/23] Compiling SGPKitOBJC SatelliteData.m
[3/23] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux