The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyShell with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/altavares/swiftyshell.git
Reference: master
Cloned https://github.com/altavares/swiftyshell.git into spi-builder-workspace
SUCCESS checkout https://github.com/altavares/swiftyshell.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-package-manager.git
[1/111811] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git (9.70s)
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
Building for debugging...
[0/1] Compiling clibc libc.c
[2/3] Emitting module SPMLibc
[3/3] Compiling SPMLibc libc.swift
[6/16] Compiling POSIX rename.swift
[7/16] Compiling POSIX readdir.swift
[8/16] Compiling POSIX getcwd.swift
[9/16] Compiling POSIX isatty.swift
[10/16] Compiling POSIX realpath.swift
[11/16] Compiling POSIX stat.swift
[12/17] Compiling POSIX usleep.swift
[13/17] Compiling POSIX env.swift
[14/17] Compiling POSIX exit.swift
[15/17] Compiling POSIX Error.swift
[16/17] Compiling POSIX chdir.swift
[17/17] Emitting module POSIX
[20/53] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[21/53] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[22/53] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[23/53] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[24/53] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[25/57] Emitting module Basic
[26/57] Compiling Basic JSONMapper.swift
[27/57] Compiling Basic KeyedPair.swift
[28/57] Compiling Basic LazyCache.swift
[29/57] Compiling Basic Lock.swift
[30/57] Compiling Basic ObjectIdentifierProtocol.swift
[31/57] Compiling Basic CollectionExtensions.swift
[32/57] Compiling Basic Condition.swift
[33/57] Compiling Basic DeltaAlgorithm.swift
[34/57] Compiling Basic DiagnosticsEngine.swift
[35/57] Compiling Basic DictionaryExtensions.swift
[36/57] Compiling Basic ProcessSet.swift
[37/57] Compiling Basic RegEx.swift
[38/57] Compiling Basic Result.swift
[39/57] Compiling Basic SHA256.swift
[40/57] Compiling Basic SortedArray.swift
[41/57] Compiling Basic StringConversions.swift
[42/57] Compiling Basic SynchronizedQueue.swift
[43/57] Compiling Basic TemporaryFile.swift
[44/57] 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)
                                                     ^
                                                        !
[45/57] 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)
                                                     ^
                                                        !
[46/57] 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)
                                                     ^
                                                        !
[47/57] 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)
                                                     ^
                                                        !
[48/57] 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)
                                                     ^
                                                        !
[49/57] Compiling Basic TerminalController.swift
[50/57] Compiling Basic Thread.swift
[51/57] Compiling Basic Tuple.swift
[52/57] Compiling Basic misc.swift
[53/57] Compiling Basic DictionaryLiteralExtensions.swift
[54/57] Compiling Basic EditDistance.swift
[55/57] Compiling Basic FileSystem.swift
[56/57] Compiling Basic GraphAlgorithms.swift
[57/57] Compiling Basic JSON.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1