Build Information
Failed to build ErrorAssertions, reference main (466b92), with Swift 6.2 for Linux on 18 Jun 2025 05:39:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SlaunchaMan/ErrorAssertions.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/SlaunchaMan/ErrorAssertions
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 466b920 Merge pull request #16 from SlaunchaMan/dependabot/bundler/cocoapods-downloader-1.6.3
Cloned https://github.com/SlaunchaMan/ErrorAssertions.git
Revision (git rev-parse @):
466b9208031131bf283531e945c28dc79ed9e2dc
SUCCESS checkout https://github.com/SlaunchaMan/ErrorAssertions.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/SlaunchaMan/ErrorAssertions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling ErrorAssertions RestorationHandler.swift
[5/9] Compiling ErrorAssertions AnonymousError.swift
[6/9] Emitting module ErrorAssertions
[7/9] Compiling ErrorAssertions FatalErrorWrapper.swift
[8/9] Compiling ErrorAssertions PreconditionWrapper.swift
[9/9] Compiling ErrorAssertions AssertWrapper.swift
[11/16] Compiling ErrorAssertionExpectations Unreachable.swift
[12/16] Compiling ErrorAssertionExpectations ClosureThread.swift
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/ClosureThread.swift:10:22: error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
8 | import Foundation
9 |
10 | internal final class ClosureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
11 |
12 | private let closure: () -> Void
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/16] Compiling ErrorAssertionExpectations AssertExpectations.swift
[14/16] Emitting module ErrorAssertionExpectations
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/ClosureThread.swift:10:22: error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
8 | import Foundation
9 |
10 | internal final class ClosureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
11 |
12 | private let closure: () -> Void
[15/16] Compiling ErrorAssertionExpectations FatalErrorExpectations.swift
[16/16] Compiling ErrorAssertionExpectations PreconditionExpectations.swift
BUILD FAILURE 6.2 linux