Build Information
Failed to build CLIKit, reference master (846dde), with Swift 6.3 for Linux on 12 Apr 2026 15:53:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apparata/clikit.git
Reference: master
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/apparata/clikit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 846dde4 Update README.md
Cloned https://github.com/apparata/clikit.git
Revision (git rev-parse @):
846dde4a72e297f4b2045df29245e011f0e0a276
SUCCESS checkout https://github.com/apparata/clikit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/apparata/clikit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
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/58] Emitting module CLIKit
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
[4/65] Compiling CLIKit ReadEvaluatePrintLoop.swift
[5/65] Compiling CLIKit TerminalREPL.swift
[6/65] Compiling CLIKit TerminalREPLState.swift
[7/65] Compiling CLIKit StandardIO.swift
[8/65] Compiling CLIKit Terminal.swift
[9/65] Compiling CLIKit TerminalCode.swift
[10/65] Compiling CLIKit TerminalInputMode.swift
[11/65] Compiling CLIKit TerminalString.swift
[12/65] Compiling CLIKit Array+CommandArgumentValue.swift
[13/65] Compiling CLIKit Dictionary+CommandArgumentValue.swift
[14/65] Compiling CLIKit Double+CommandArgumentValue.swift
[15/65] Compiling CLIKit Float+CommandArgumentValue.swift
[16/65] Compiling CLIKit Int+CommandArgumentValue.swift
[17/65] Compiling CLIKit Set+CommandArgumentValue.swift
[18/65] Compiling CLIKit String+CommandArgumentValue.swift
[19/65] Compiling CLIKit UInt+CommandArgumentValue.swift
[20/65] Compiling CLIKit Subprocess.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[21/65] Compiling CLIKit SubprocessError.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[22/65] Compiling CLIKit SubprocessResult.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[23/65] Compiling CLIKit Character+Inspection.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[24/65] Compiling CLIKit SimpleWordCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[25/65] Compiling CLIKit String+Words.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[26/65] Compiling CLIKit TextCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[27/65] Compiling CLIKit URL+CommandArgumentValue.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[28/65] Compiling CLIKit CommandArgumentSpecification.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[29/65] Compiling CLIKit CommandArgumentValue.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[30/65] Compiling CLIKit CommandFlag.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[31/65] Compiling CLIKit CommandInput.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[32/65] Compiling CLIKit CommandOption.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[33/65] Compiling CLIKit HelpFlag.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[34/65] Compiling CLIKit Command.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[35/65] Compiling CLIKit LineReader.swift
[36/65] Compiling CLIKit WrapsFileHandle.swift
[37/65] Compiling CLIKit Lock.swift
[38/65] Compiling CLIKit Log.swift
[39/65] Compiling CLIKit Regex.swift
[40/65] Compiling CLIKit Sequence+Convenience.swift
[41/65] Compiling CLIKit String+Utilities.swift
[42/65] Compiling CLIKit Environment.swift
[43/65] Compiling CLIKit StandardEnvironmentVariable.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[44/65] Compiling CLIKit CStrings.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[45/65] Compiling CLIKit SubprocessAttributes.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[46/65] Compiling CLIKit SubprocessCaptureOutputThread.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[47/65] Compiling CLIKit SubprocessIO.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[48/65] Compiling CLIKit SubprocessPipe.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[49/65] Compiling CLIKit SubprocessStateMachine.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.3) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[50/65] Compiling CLIKit CommandLineError.swift
[51/65] Compiling CLIKit CommandLineParser.swift
[52/65] Compiling CLIKit CommandUsage.swift
[53/65] Compiling CLIKit ParserContext.swift
[54/65] Compiling CLIKit ParserEvent.swift
[55/65] Compiling CLIKit ParserState.swift
[56/65] Compiling CLIKit ParserStateMachine.swift
[57/65] Compiling CLIKit Execution.swift
[58/65] Compiling CLIKit ExecutionMode.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[59/65] Compiling CLIKit ExecutableFinder.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[60/65] Compiling CLIKit Path+FileManagement.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[61/65] Compiling CLIKit Path.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[62/65] Compiling CLIKit Console.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[63/65] Compiling CLIKit IO.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[64/65] Compiling CLIKit BasicREPL.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[65/65] Compiling CLIKit CommandLineHistory.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
BUILD FAILURE 6.3 linux