Build Information
Failed to build CLIKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/apparata/clikit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/58] Emitting module CLIKit
[4/65] Compiling CLIKit LineReader.swift
[5/65] Compiling CLIKit WrapsFileHandle.swift
[6/65] Compiling CLIKit Lock.swift
[7/65] Compiling CLIKit Log.swift
[8/65] Compiling CLIKit Regex.swift
[9/65] Compiling CLIKit Sequence+Convenience.swift
[10/65] Compiling CLIKit String+Utilities.swift
[11/65] Compiling CLIKit Environment.swift
[12/65] Compiling CLIKit ReadEvaluatePrintLoop.swift
[13/65] Compiling CLIKit TerminalREPL.swift
[14/65] Compiling CLIKit TerminalREPLState.swift
[15/65] Compiling CLIKit StandardIO.swift
[16/65] Compiling CLIKit Terminal.swift
[17/65] Compiling CLIKit TerminalCode.swift
[18/65] Compiling CLIKit TerminalInputMode.swift
[19/65] Compiling CLIKit TerminalString.swift
[20/65] Compiling CLIKit StandardEnvironmentVariable.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[21/65] Compiling CLIKit CStrings.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[22/65] Compiling CLIKit SubprocessAttributes.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[23/65] Compiling CLIKit SubprocessCaptureOutputThread.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[24/65] Compiling CLIKit SubprocessIO.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[25/65] Compiling CLIKit SubprocessPipe.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[26/65] Compiling CLIKit SubprocessStateMachine.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[27/65] Compiling CLIKit URL+CommandArgumentValue.swift
[28/65] Compiling CLIKit CommandArgumentSpecification.swift
[29/65] Compiling CLIKit CommandArgumentValue.swift
[30/65] Compiling CLIKit CommandFlag.swift
[31/65] Compiling CLIKit CommandInput.swift
[32/65] Compiling CLIKit CommandOption.swift
[33/65] Compiling CLIKit HelpFlag.swift
[34/65] Compiling CLIKit Command.swift
[35/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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[36/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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[37/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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[38/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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[39/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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[40/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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[41/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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[42/65] Compiling CLIKit ExecutionMode.swift
[43/65] Compiling CLIKit ExecutableFinder.swift
[44/65] Compiling CLIKit Path+FileManagement.swift
[45/65] Compiling CLIKit Path.swift
[46/65] Compiling CLIKit Console.swift
[47/65] Compiling CLIKit IO.swift
[48/65] Compiling CLIKit BasicREPL.swift
[49/65] Compiling CLIKit CommandLineHistory.swift
[50/65] Compiling CLIKit Array+CommandArgumentValue.swift
[51/65] Compiling CLIKit Dictionary+CommandArgumentValue.swift
[52/65] Compiling CLIKit Double+CommandArgumentValue.swift
[53/65] Compiling CLIKit Float+CommandArgumentValue.swift
[54/65] Compiling CLIKit Int+CommandArgumentValue.swift
[55/65] Compiling CLIKit Set+CommandArgumentValue.swift
[56/65] Compiling CLIKit String+CommandArgumentValue.swift
[57/65] Compiling CLIKit UInt+CommandArgumentValue.swift
[58/65] Compiling CLIKit CommandLineError.swift
[59/65] Compiling CLIKit CommandLineParser.swift
[60/65] Compiling CLIKit CommandUsage.swift
[61/65] Compiling CLIKit ParserContext.swift
[62/65] Compiling CLIKit ParserEvent.swift
[63/65] Compiling CLIKit ParserState.swift
[64/65] Compiling CLIKit ParserStateMachine.swift
[65/65] Compiling CLIKit Execution.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling CLIKit String+Words.swift
[3/16] Compiling CLIKit SubprocessIO.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[4/16] Compiling CLIKit SubprocessPipe.swift
/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>')
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: coalesce using '??' to provide a default when the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
^
!
[5/16] Compiling CLIKit StandardEnvironmentVariable.swift
[6/16] Compiling CLIKit CStrings.swift
[7/16] Compiling CLIKit TextCompletion.swift
[8/19] Compiling CLIKit Character+Inspection.swift
[9/19] Compiling CLIKit SimpleWordCompletion.swift
[10/19] Compiling CLIKit SubprocessError.swift
[11/19] Compiling CLIKit SubprocessResult.swift
[12/19] Compiling CLIKit SubprocessStateMachine.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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[13/19] 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>'
cArguments.cStrings[0],
^
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
cArguments.cStrings[0],
^
?? <#default value#>
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
cArguments.cStrings[0],
^
!
[14/22] Compiling CLIKit SubprocessAttributes.swift
[15/22] Compiling CLIKit SubprocessCaptureOutputThread.swift
[16/23] Compiling CLIKit Set+CommandArgumentValue.swift
[17/24] Compiling CLIKit Array+CommandArgumentValue.swift
[18/25] Compiling CLIKit Dictionary+CommandArgumentValue.swift
[19/26] Compiling CLIKit ExecutableFinder.swift
[20/26] Compiling CLIKit TerminalREPL.swift
[21/26] Compiling CLIKit ReadEvaluatePrintLoop.swift
[22/26] Compiling CLIKit BasicREPL.swift
[23/26] Compiling CLIKit Console.swift
[24/26] Compiling CLIKit Path.swift
[25/26] Compiling CLIKit StandardIO.swift
[26/26] Emitting module CLIKit
error: fatalError
BUILD FAILURE 5.10 linux