The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swiftbrew with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/swiftbrew/Swiftbrew.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/swiftbrew/Swiftbrew
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a111c21 Merge pull request #12 from Thieurom/update-gh-pull-request-action
Cloned https://github.com/swiftbrew/Swiftbrew.git
Revision (git rev-parse @):
a111c21840644f32aa3cdada67c5bd499184e9d3
SUCCESS checkout https://github.com/swiftbrew/Swiftbrew.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/swiftbrew/Swiftbrew.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/nsomar/Guaka.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/apple/swift-package-manager.git
[1/1420] Fetching guaka
[2/2824] Fetching guaka, pathkit
[2825/7898] Fetching guaka, pathkit, swiftcli
[2927/9012] Fetching guaka, pathkit, swiftcli, rainbow
[3516/10033] Fetching guaka, pathkit, swiftcli, rainbow, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.32s)
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Fetching https://github.com/getGuaka/Run.git
Fetching https://github.com/getGuaka/Colorizer.git
Fetched https://github.com/nsomar/Guaka.git from cache (0.40s)
Fetching https://github.com/JustHTTP/Just.git
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.41s)
Fetching https://github.com/Quick/Quick.git
[1/58] Fetching colorizer
[59/111] Fetching colorizer, run
[112/2237] Fetching colorizer, run, just
Fetched https://github.com/getGuaka/Colorizer.git from cache (0.29s)
Fetching https://github.com/getGuaka/Prompt.git
Fetched https://github.com/getGuaka/Run.git from cache (0.29s)
Fetching https://github.com/yonaskolb/Mint.git
[1510/2126] Fetching just
[2127/16335] Fetching just, quick
Fetched https://github.com/JustHTTP/Just.git from cache (0.32s)
[4405/14209] Fetching quick
Fetching https://github.com/Quick/Nimble.git
[11369/14253] Fetching quick, prompt
[11555/17030] Fetching quick, prompt, mint
[12640/16986] Fetching quick, mint
Fetched https://github.com/getGuaka/Prompt.git from cache (0.21s)
Fetching https://github.com/getGuaka/Args.git
[16987/17020] Fetching quick, mint, args
Fetched https://github.com/yonaskolb/Mint.git from cache (0.40s)
Fetching https://github.com/getGuaka/StringScanner.git
Computing version for https://github.com/jakeheis/SwiftCLI.git
Fetched https://github.com/getGuaka/Args.git from cache (0.24s)
Fetched https://github.com/Quick/Quick.git from cache (0.69s)
[1/188] Fetching stringscanner
Fetched https://github.com/getGuaka/StringScanner.git from cache (0.21s)
[1/17291] Fetching nimble
[11586/141261] Fetching nimble, swift-package-manager
Fetched https://github.com/Quick/Nimble.git from cache (1.67s)
[59506/123970] Fetching swift-package-manager
Computed https://github.com/jakeheis/SwiftCLI.git at 5.2.2 (1.51s)
Computing version for https://github.com/yonaskolb/Mint.git
Computed https://github.com/yonaskolb/Mint.git at 0.12.0 (0.49s)
Fetched https://github.com/onevcat/Rainbow.git from cache (10.71s)
Fetched https://github.com/apple/swift-package-manager.git from cache (10.97s)
Computing version for https://github.com/nsomar/Guaka.git
Computed https://github.com/nsomar/Guaka.git at 0.4.1 (1.30s)
Computing version for https://github.com/getGuaka/Run.git
Computed https://github.com/getGuaka/Run.git at 0.1.1 (0.46s)
Computing version for https://github.com/getGuaka/Colorizer.git
Computed https://github.com/getGuaka/Colorizer.git at 0.2.1 (0.44s)
Computing version for https://github.com/JustHTTP/Just.git
Computed https://github.com/JustHTTP/Just.git at 0.8.0 (0.43s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.2.0 (0.58s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.1.5 (0.45s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.45s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (0.45s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.46s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.47s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.45s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.44s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.44s)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Creating working copy for https://github.com/nsomar/Guaka.git
Working copy of https://github.com/nsomar/Guaka.git resolved at 0.4.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
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 0.2.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.1.5
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/getGuaka/Run.git
Working copy of https://github.com/getGuaka/Run.git resolved at 0.1.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/yonaskolb/Mint.git
Working copy of https://github.com/yonaskolb/Mint.git resolved at 0.12.0
Creating working copy for https://github.com/JustHTTP/Just.git
Working copy of https://github.com/JustHTTP/Just.git resolved at 0.8.0
Creating working copy for https://github.com/getGuaka/Colorizer.git
Working copy of https://github.com/getGuaka/Colorizer.git resolved at 0.2.1
Creating working copy for https://github.com/getGuaka/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at 0.1.1
Creating working copy for https://github.com/getGuaka/StringScanner.git
Working copy of https://github.com/getGuaka/StringScanner.git resolved at 0.4.1
warning: 'spi-builder-workspace': dependency 'swiftcli' is not used by any target
Building for debugging...
[0/38] Write sources
[17/38] Compiling clibc libc.c
[18/38] Write swift-version-24593BA9C3E375BF.txt
[20/93] Emitting module SwiftCLI
[21/95] Compiling SwiftCLI Validation.swift
[22/95] Compiling SwiftCLI VersionCommand.swift
[23/95] Compiling Colorizer StringStyleColorizer.swift
[24/95] Compiling Rainbow StringGenerator.swift
[25/95] Compiling Rainbow Style.swift
[26/96] Emitting module Colorizer
[27/96] Compiling StringScanner StringExtension.swift
[28/96] Compiling StringScanner ScannerResult.swift
[29/96] Compiling StringScanner StringScanner.swift
[30/96] Compiling Rainbow String+Rainbow.swift
[31/96] Compiling Rainbow XcodeColorsSupport.swift
[32/96] Compiling Args ArgsParser.swift
[33/96] Compiling Args ArgConvertible.swift
[34/96] Emitting module Args
[35/96] Compiling Args Argument.swift
[36/96] Compiling Args Args.swift
[37/96] Compiling SwiftCLI Error.swift
[38/96] Compiling SwiftCLI HelpCommand.swift
[39/96] Compiling SwiftCLI HelpMessageGenerator.swift
[40/96] Compiling SwiftCLI OptionRegistry.swift
[41/96] Compiling SwiftCLI Parameter.swift
[42/96] Compiling SwiftCLI Parser.swift
[43/96] Compiling SwiftCLI Task.swift
[44/96] Compiling SwiftCLI Term.swift
[45/96] Compiling SwiftCLI ArgumentList.swift
[46/96] Compiling SwiftCLI ArgumentListManipulator.swift
[47/96] Compiling SwiftCLI CLI.swift
[48/96] Compiling SPMLibc libc.swift
[49/96] Emitting module SPMLibc
[50/97] Compiling Rainbow ControlCode.swift
[51/97] Compiling Rainbow ModesExtractor.swift
[52/97] Compiling Rainbow OutputTarget.swift
[53/97] Compiling SwiftCLI Path.swift
[54/97] Compiling SwiftCLI Stream.swift
[55/97] Compiling Rainbow BackgroundColor.swift
[56/97] Compiling Rainbow CodesParser.swift
[57/97] Compiling Rainbow Color.swift
[58/97] Compiling Args ProcessInfo.swift
[59/97] Compiling Colorizer StringForegroundColorizer.swift
[60/97] Compiling Colorizer StringStyle.swift
[61/97] Compiling Colorizer StringBackgroundColorizer.swift
[62/97] Compiling Colorizer Colorizer.swift
[67/100] Compiling Rainbow Rainbow.swift
[68/100] Emitting module Rainbow
[71/101] Compiling StringScanner CharacterSet.swift
[72/101] Emitting module StringScanner
[73/101] Compiling StringScanner Regex.swift
[80/102] Compiling PathKit PathKit.swift
[81/102] Emitting module PathKit
[81/102] Wrapping AST for Colorizer for debugging
[82/102] Wrapping AST for SPMLibc for debugging
[83/102] Wrapping AST for SwiftCLI for debugging
[84/118] Wrapping AST for Rainbow for debugging
[85/123] Wrapping AST for StringScanner for debugging
[86/128] Wrapping AST for Args for debugging
[88/146] Wrapping AST for PathKit for debugging
[90/146] Compiling Prompt PromptReader.swift
[91/146] Compiling POSIX realpath.swift
[92/146] Emitting module Guaka
[93/151] Compiling Prompt AskerValidator.swift
[94/151] Compiling Prompt PromptPrinter.swift
[95/151] Compiling Guaka Command+Execution.swift
[96/151] Compiling Guaka Command+Utilities.swift
[97/151] Compiling POSIX readdir.swift
[98/151] Emitting module Just
[99/151] Compiling Just Just.swift
[100/151] Compiling POSIX stat.swift
[101/151] Compiling POSIX rename.swift
[102/152] Compiling Guaka CommandTypes.swift
[103/152] Compiling Guaka CommandExecution.swift
[104/152] Compiling Guaka Flag+Utilities.swift
[105/152] Compiling POSIX usleep.swift
[108/152] Emitting module Prompt
[109/152] Compiling Guaka Command.swift
[114/152] Compiling Prompt PromptSettings.swift
[115/152] Compiling Guaka Errors.swift
[116/152] Compiling Guaka FlagValue.swift
[117/152] Compiling Guaka Result.swift
[118/152] Compiling Prompt Choose.swift
[119/152] Compiling Prompt ChooseSettings.swift
[120/153] Compiling Guaka Flag.swift
[121/153] Compiling Guaka FlagSet.swift
[122/153] Compiling Guaka Flags.swift
[122/153] Wrapping AST for Just for debugging
[125/153] Compiling Guaka CommandHelp.swift
[126/153] Compiling Guaka DefaultHelpGenerator.swift
[127/153] Compiling Guaka FlagHelp.swift
[128/153] Compiling Guaka FlagHelpGeneratorUtils.swift
[129/153] Compiling Guaka HelpGenerator.swift
[130/153] Compiling Guaka HelpGeneratorDefaults.swift
[131/153] Compiling Guaka HelpGeneratorErrors.swift
[132/153] Compiling Guaka GuakaConfig.swift
[133/153] Compiling Guaka Levenshtein.swift
[134/153] Compiling Guaka ArgTokenType.swift
[135/153] Compiling Guaka Command+Parsing.swift
[136/153] Compiling Guaka FlagSet+Parsing.swift
[137/153] Emitting module POSIX
[139/154] Wrapping AST for Prompt for debugging
[141/161] Wrapping AST for POSIX for debugging
[147/196] Compiling Run TaskPipe.swift
[148/196] Compiling Run ShortHandRunner.swift
[148/196] Wrapping AST for Guaka for debugging
[150/196] Emitting module Run
[151/196] Compiling Run Runner.swift
[152/196] Compiling Run RunnerSettings.swift
[153/196] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
                                               ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
                                              !
[154/196] Compiling Run RunResults.swift
error: fatalError
warning: 'spi-builder-workspace': dependency 'swiftcli' is not used by any target
[0/1] Planning build
Building for debugging...
[0/20] Write swift-version-24593BA9C3E375BF.txt
[2/45] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[3/45] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[4/45] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[5/45] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[6/45] 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()
                    ~~~~~~ ^~~~~~~~~~~~~
[7/49] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
                                               ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
                                              !
[8/49] Emitting module Run
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2