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 CSErrors, reference main (776b78), with Swift 6.2 (beta) for Linux on 23 Jun 2025 19:48:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlesJS/CSErrors.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/CharlesJS/CSErrors
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 776b781 Move Foundation support to a trait instead of a separate target
Cloned https://github.com/CharlesJS/CSErrors.git
Revision (git rev-parse @):
776b7813f14e4618701b3c4f33c7ff27be53dfc0
SUCCESS checkout https://github.com/CharlesJS/CSErrors.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/CharlesJS/CSErrors.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.50s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (4.47s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.38s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.20s)
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/14] Emitting module CSErrors
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[4/15] Compiling CSErrors HTTPError.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[5/15] Compiling CSErrors Internal.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[6/15] Compiling CSErrors URLError+CSErrors.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[7/15] Compiling CSErrors Recoverability.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[8/15] Compiling CSErrors Stderr.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[9/15] Compiling CSErrors POSIX Errors.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[10/15] Compiling CSErrors NSError+CSErrors.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[11/15] Compiling CSErrors OSStatus Errors.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[12/15] Compiling CSErrors Error+CSErrors.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[13/15] Compiling CSErrors ErrorMetadata.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[14/15] Compiling CSErrors CSErrorProtocol.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
[15/15] Compiling CSErrors CocoaError+CSErrors.swift
/host/spi-builder-workspace/Sources/CSErrors/CocoaError+CSErrors.swift:8:8: error: no such module 'System'
  6 | //
  7 |
  8 | import System
    |        `- error: no such module 'System'
  9 |
 10 | #if Foundation
BUILD FAILURE 6.2 linux