The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyShell with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/altavares/swiftyshell.git
Reference: 0.1.0
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/altavares/swiftyshell
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 096b166 feat: implement dry run
Cloned https://github.com/altavares/swiftyshell.git
Revision (git rev-parse @):
096b1661ff1190854a1068c1dcd06f5ef57b2563
SUCCESS checkout https://github.com/altavares/swiftyshell.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/altavares/swiftyshell.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-package-manager.git
[1/124026] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (11.72s)
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at master (3e71e57)
Building for debugging...
[0/7] Write sources
[5/7] Compiling clibc libc.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
[8/9] Emitting module SPMLibc
[9/9] Compiling SPMLibc libc.swift
[11/21] Compiling POSIX getcwd.swift
[12/21] Compiling POSIX isatty.swift
[13/22] Compiling POSIX usleep.swift
[14/22] Compiling POSIX realpath.swift
[15/22] Compiling POSIX rename.swift
[16/22] Compiling POSIX readdir.swift
[17/22] Compiling POSIX stat.swift
[18/22] Compiling POSIX env.swift
[19/22] Compiling POSIX exit.swift
[20/22] Emitting module POSIX
[21/22] Compiling POSIX Error.swift
[22/22] Compiling POSIX chdir.swift
[24/57] Compiling Basic Await.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[25/57] Compiling Basic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[26/57] Compiling Basic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[27/57] Compiling Basic CacheableSequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[28/57] Compiling Basic CollectionAlgorithms.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[29/61] Emitting module Basic
[30/61] Compiling Basic OrderedSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: 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(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                 !
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[31/61] Compiling Basic OutputByteStream.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: 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(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                 !
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[32/61] Compiling Basic Path.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: 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(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                 !
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[33/61] Compiling Basic PathShims.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: 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(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                 !
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[34/61] Compiling Basic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: 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(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                 !
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[35/61] Compiling Basic JSONMapper.swift
[36/61] Compiling Basic KeyedPair.swift
[37/61] Compiling Basic LazyCache.swift
[38/61] Compiling Basic Lock.swift
[39/61] Compiling Basic ObjectIdentifierProtocol.swift
[40/61] Compiling Basic SortedArray.swift
[41/61] Compiling Basic StringConversions.swift
[42/61] Compiling Basic SynchronizedQueue.swift
[43/61] Compiling Basic TemporaryFile.swift
[44/61] Compiling Basic CollectionExtensions.swift
[45/61] Compiling Basic Condition.swift
[46/61] Compiling Basic DeltaAlgorithm.swift
[47/61] Compiling Basic DiagnosticsEngine.swift
[48/61] Compiling Basic DictionaryExtensions.swift
[49/61] Compiling Basic ProcessSet.swift
[50/61] Compiling Basic RegEx.swift
[51/61] Compiling Basic Result.swift
[52/61] Compiling Basic SHA256.swift
[53/61] Compiling Basic TerminalController.swift
[54/61] Compiling Basic Thread.swift
[55/61] Compiling Basic Tuple.swift
[56/61] Compiling Basic misc.swift
[57/61] Compiling Basic DictionaryLiteralExtensions.swift
[58/61] Compiling Basic EditDistance.swift
[59/61] Compiling Basic FileSystem.swift
[60/61] Compiling Basic GraphAlgorithms.swift
[61/61] Compiling Basic JSON.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Basic CollectionAlgorithms.swift
[3/11] Compiling Basic CStringArray.swift
[4/11] Compiling Basic CacheableSequence.swift
[5/11] Compiling Basic OrderedSet.swift
[6/11] Compiling Basic Await.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[7/11] Compiling Basic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[8/21] Compiling Basic DictionaryExtensions.swift
[9/21] Compiling Basic DictionaryLiteralExtensions.swift
[10/21] Compiling Basic EditDistance.swift
[11/24] Compiling Basic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: 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(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                 !
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[12/27] Emitting module Basic
[13/30] Compiling Basic PathShims.swift
[14/30] Compiling Basic Path.swift
[15/36] Compiling Basic JSONMapper.swift
[16/36] Compiling Basic KeyedPair.swift
[17/36] Compiling Basic Lock.swift
[18/37] Compiling Basic Condition.swift
[19/38] Compiling Basic ObjectIdentifierProtocol.swift
[20/38] Compiling Basic ProcessSet.swift
[21/38] Compiling Basic RegEx.swift
[22/38] Compiling Basic Thread.swift
[23/38] Compiling Basic OutputByteStream.swift
[24/38] Compiling Basic StringConversions.swift
[25/38] Compiling Basic SynchronizedQueue.swift
[26/38] Compiling Basic TemporaryFile.swift
[27/38] Compiling Basic TerminalController.swift
[28/38] Compiling Basic Tuple.swift
[29/38] Compiling Basic misc.swift
[30/38] Compiling Basic CollectionExtensions.swift
[31/38] Compiling Basic DeltaAlgorithm.swift
[32/38] Compiling Basic DiagnosticsEngine.swift
[33/38] Compiling Basic FileSystem.swift
[34/38] Compiling Basic GraphAlgorithms.swift
[35/38] Compiling Basic JSON.swift
[36/38] Compiling Basic Result.swift
[37/38] Compiling Basic SHA256.swift
[38/38] Compiling Basic SortedArray.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2