The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Run 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/getGuaka/Run.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/getGuaka/Run
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5a2866c Fix execute ls test on Linux
Cloned https://github.com/getGuaka/Run.git
Revision (git rev-parse @):
5a2866c0ae4266e0406d85f16adf65a30a626d7f
SUCCESS checkout https://github.com/getGuaka/Run.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/getGuaka/Run.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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/getGuaka/Prompt.git
Fetching https://github.com/getGuaka/Args.git
[1/44] Fetching prompt
[45/78] Fetching prompt, args
[79/14287] Fetching prompt, args, quick
[14288/31578] Fetching prompt, args, quick, nimble
Fetched https://github.com/getGuaka/Prompt.git from cache (0.66s)
[21506/31534] Fetching args, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.67s)
[8334/17325] Fetching args, nimble
Fetched https://github.com/getGuaka/Args.git from cache (1.47s)
Fetched https://github.com/Quick/Nimble.git from cache (1.49s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (0.47s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (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/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.45s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.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/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Emitting module Args
[6/10] Compiling Args ArgConvertible.swift
[7/10] Compiling Args ProcessInfo.swift
[8/10] Compiling Args Args.swift
[9/10] Compiling Args ArgsParser.swift
[10/10] Compiling Args Argument.swift
[12/21] Compiling Prompt PromptReader.swift
[13/22] Compiling Prompt AskerValidator.swift
[14/22] Compiling Prompt PromptPrinter.swift
[15/22] Compiling Prompt Agree.swift
[16/22] Compiling Prompt AgreeSettings.swift
[17/22] Emitting module Prompt
[18/22] Compiling Prompt PromptSettings.swift
[19/22] Compiling Prompt Choose.swift
[20/22] Compiling Prompt ChooseSettings.swift
[21/22] Compiling Prompt Ask.swift
[22/22] Compiling Prompt AskSettings.swift
[24/30] Compiling Run TaskPipe.swift
[25/30] Compiling Run ShortHandRunner.swift
[26/30] Emitting module Run
[27/30] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        task.launchPath = "/usr/bin/env"
             ^
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: note: use 'executableURL' instead
        task.launchPath = "/usr/bin/env"
             ^~~~~~~~~~
             executableURL
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: warning: 'launch()' is deprecated: renamed to 'run'
        task.launch()
             ^
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: note: use 'run' instead
        task.launch()
             ^~~~~~
             run
/host/spi-builder-workspace/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/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/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)
                                           ^
                                              !
[28/30] Compiling Run RunResults.swift
[29/30] Compiling Run Runner.swift
[30/30] Compiling Run RunnerSettings.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module Run
[3/3] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        task.launchPath = "/usr/bin/env"
             ^
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: note: use 'executableURL' instead
        task.launchPath = "/usr/bin/env"
             ^~~~~~~~~~
             executableURL
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: warning: 'launch()' is deprecated: renamed to 'run'
        task.launch()
             ^
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: note: use 'run' instead
        task.launch()
             ^~~~~~
             run
/host/spi-builder-workspace/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/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/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)
                                           ^
                                              !
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2