Build Information
Failed to build Swiftbrew with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/JustHTTP/Just.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/nsomar/Guaka.git
Fetching https://github.com/getGuaka/Run.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/getGuaka/Colorizer.git
[1/58] Fetching colorizer
[59/111] Fetching colorizer, run
[112/1132] Fetching colorizer, run, spectre
[276/15341] Fetching colorizer, run, spectre, quick
[837/16761] Fetching colorizer, run, spectre, quick, guaka
[1830/18887] Fetching colorizer, run, spectre, quick, guaka, just
Fetched https://github.com/nsomar/Guaka.git from cache (0.32s)
Fetching https://github.com/getGuaka/Args.git
Fetched https://github.com/getGuaka/Colorizer.git from cache (0.32s)
Fetching https://github.com/onevcat/Rainbow.git
[14710/17409] Fetching run, spectre, quick, just
[17410/18523] Fetching run, spectre, quick, just, rainbow
[18524/18557] Fetching run, spectre, quick, just, rainbow, args
Fetched https://github.com/getGuaka/Args.git from cache (0.23s)
Fetching https://github.com/yonaskolb/Mint.git
Fetched https://github.com/onevcat/Rainbow.git from cache (0.23s)
Fetching https://github.com/getGuaka/Prompt.git
Fetched https://github.com/getGuaka/Run.git from cache (0.56s)
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetched https://github.com/kylef/Spectre.git from cache (0.56s)
Fetching https://github.com/getGuaka/StringScanner.git
Fetched https://github.com/JustHTTP/Just.git from cache (0.56s)
Fetching https://github.com/apple/swift-package-manager.git
Fetched https://github.com/Quick/Quick.git from cache (0.57s)
Fetching https://github.com/kylef/PathKit.git
[1/2777] Fetching mint
[1001/7851] Fetching mint, swiftcli
[3161/7895] Fetching mint, swiftcli, prompt
[4137/9299] Fetching mint, swiftcli, prompt, pathkit
[5959/9487] Fetching mint, swiftcli, prompt, pathkit, stringscanner
Fetched https://github.com/getGuaka/Prompt.git from cache (0.26s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/getGuaka/StringScanner.git from cache (0.26s)
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Fetched https://github.com/yonaskolb/Mint.git from cache (0.33s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.34s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
[1/17291] Fetching nimble
Computed https://github.com/jakeheis/SwiftCLI.git at 5.2.2 (1.06s)
Computing version for https://github.com/yonaskolb/Mint.git
[17292/142558] Fetching nimble, swift-package-manager
Fetched https://github.com/Quick/Nimble.git from cache (1.57s)
[18791/125267] Fetching swift-package-manager
Computed https://github.com/yonaskolb/Mint.git at 0.12.0 (0.47s)
Fetched https://github.com/apple/swift-package-manager.git from cache (9.55s)
Computing version for https://github.com/nsomar/Guaka.git
Computed https://github.com/nsomar/Guaka.git at 0.4.1 (1.01s)
Computing version for https://github.com/getGuaka/Run.git
Computed https://github.com/getGuaka/Run.git at 0.1.1 (0.39s)
Computing version for https://github.com/getGuaka/Colorizer.git
Computed https://github.com/getGuaka/Colorizer.git at 0.2.1 (0.37s)
Computing version for https://github.com/JustHTTP/Just.git
Computed https://github.com/JustHTTP/Just.git at 0.8.0 (0.37s)
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.49s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.1.5 (0.37s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.39s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (0.38s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.38s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.40s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.38s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.38s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.38s)
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/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.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
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/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/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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
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/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/nsomar/Guaka.git
Working copy of https://github.com/nsomar/Guaka.git resolved at 0.4.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.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
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 Rainbow
[21/94] Emitting module PathKit
[22/94] Compiling Rainbow StringGenerator.swift
[23/94] Compiling Rainbow XcodeColorsSupport.swift
[24/94] Emitting module StringScanner
[25/94] Compiling Args Args.swift
[26/94] Compiling Colorizer Colorizer.swift
[27/94] Emitting module Colorizer
[28/94] Emitting module Args
[29/94] Compiling Args ArgConvertible.swift
[30/94] Compiling Rainbow Style.swift
[31/94] Compiling Rainbow String+Rainbow.swift
[32/94] Compiling StringScanner StringExtension.swift
[33/94] Compiling StringScanner StringScanner.swift
[34/94] Compiling StringScanner ScannerResult.swift
[35/94] Compiling Colorizer StringForegroundColorizer.swift
[36/94] Compiling Colorizer StringBackgroundColorizer.swift
[37/94] Compiling Colorizer StringStyleColorizer.swift
[38/94] Compiling SwiftCLI Task.swift
[39/94] Compiling SwiftCLI Term.swift
[40/94] Compiling SwiftCLI Error.swift
[41/94] Compiling SwiftCLI HelpCommand.swift
[42/94] Compiling SwiftCLI HelpMessageGenerator.swift
[43/94] Compiling SwiftCLI Input.swift
[44/94] Compiling SwiftCLI Option.swift
[45/94] Compiling SwiftCLI OptionGroup.swift
[46/96] Compiling SwiftCLI Command.swift
[47/96] Compiling SwiftCLI Compatibility.swift
[48/96] Compiling SwiftCLI CompletionGenerator.swift
[51/96] Compiling Rainbow Rainbow.swift
[52/96] Compiling SwiftCLI ArgumentList.swift
[53/96] Compiling SwiftCLI ArgumentListManipulator.swift
[54/96] Compiling SwiftCLI CLI.swift
[56/97] Emitting module SwiftCLI
[60/97] Compiling SwiftCLI OptionRegistry.swift
[61/97] Compiling SwiftCLI Parameter.swift
[62/97] Compiling SwiftCLI Parser.swift
[63/97] Compiling SwiftCLI Path.swift
[64/97] Compiling SwiftCLI Stream.swift
[65/97] Emitting module SPMLibc
[66/97] Compiling SPMLibc libc.swift
[67/98] Compiling Args ProcessInfo.swift
[70/98] Compiling Args Argument.swift
[71/98] Compiling Args ArgsParser.swift
[72/99] Compiling Colorizer StringStyle.swift
[73/100] Compiling StringScanner CharacterSet.swift
[74/100] Compiling StringScanner Regex.swift
[78/101] Compiling SwiftCLI Validation.swift
[79/101] Compiling SwiftCLI VersionCommand.swift
[79/102] Wrapping AST for Rainbow for debugging
[80/102] Wrapping AST for Args for debugging
[82/107] Wrapping AST for StringScanner for debugging
[83/110] Wrapping AST for SPMLibc for debugging
[84/145] Wrapping AST for Colorizer for debugging
[85/145] Wrapping AST for SwiftCLI for debugging
[87/145] Emitting module POSIX
[88/146] Compiling POSIX usleep.swift
[89/146] Compiling Prompt Choose.swift
[90/146] Compiling POSIX getcwd.swift
[91/146] Compiling POSIX isatty.swift
[92/146] Emitting module Prompt
[93/146] Compiling POSIX Error.swift
[94/146] Compiling POSIX chdir.swift
[95/147] Compiling Prompt PromptPrinter.swift
[96/147] Compiling Prompt PromptReader.swift
[97/147] Emitting module Just
[98/147] Compiling Just Just.swift
[99/147] Compiling PathKit PathKit.swift
[100/147] Compiling POSIX readdir.swift
[101/147] Compiling POSIX rename.swift
[102/147] Compiling POSIX realpath.swift
[103/147] Compiling POSIX stat.swift
[104/148] Compiling Prompt PromptSettings.swift
[105/149] Compiling POSIX env.swift
[106/149] Compiling POSIX exit.swift
[111/149] Compiling Guaka CommandHelp.swift
[112/149] Compiling Guaka DefaultHelpGenerator.swift
[113/149] Compiling Guaka FlagHelp.swift
[117/152] Compiling Guaka HelpGeneratorErrors.swift
[118/152] Compiling Guaka GuakaConfig.swift
[119/152] Compiling Guaka Levenshtein.swift
[120/152] Compiling Guaka ArgTokenType.swift
[121/152] Compiling Guaka Command+Parsing.swift
[122/152] Compiling Guaka FlagSet+Parsing.swift
[123/152] Compiling Prompt AskerValidator.swift
[124/152] Compiling Prompt ChooseSettings.swift
[124/153] Wrapping AST for PathKit for debugging
[125/153] Wrapping AST for Just for debugging
[128/153] Compiling Guaka CommandTypes.swift
[129/153] Compiling Guaka CommandExecution.swift
[130/153] Compiling Guaka Flag+Utilities.swift
[131/153] Compiling Guaka FlagHelpGeneratorUtils.swift
[132/153] Compiling Guaka HelpGenerator.swift
[133/153] Compiling Guaka HelpGeneratorDefaults.swift
[136/154] Compiling Guaka Errors.swift
[137/154] Compiling Guaka FlagValue.swift
[138/154] Compiling Guaka Result.swift
[139/154] Emitting module Guaka
[142/154] Wrapping AST for Prompt for debugging
[145/162] Wrapping AST for POSIX for debugging
[146/162] Wrapping AST for Guaka for debugging
[148/196] Compiling Run TaskPipe.swift
[149/196] Compiling Run ShortHandRunner.swift
[150/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)
^
!
[151/196] Emitting module Run
[152/196] Compiling Run Runner.swift
[153/196] Compiling Run RunResults.swift
[154/196] Compiling Run RunnerSettings.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 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)
^
!
[3/45] Emitting module Run
error: fatalError
BUILD FAILURE 5.10 linux