The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bariloche with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/subito-it/bariloche.git
Reference: 1.0.4
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/subito-it/bariloche
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 507f412 Show help when needed #2
Cloned https://github.com/subito-it/bariloche.git
Revision (git rev-parse @):
507f4121d2a7479522908dabf83aed78a6e5e268
SUCCESS checkout https://github.com/subito-it/bariloche.git at 1.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/subito-it/bariloche.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/onevcat/Rainbow
[1/1114] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.23s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.4 (1.04s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.4
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/20] Compiling Rainbow Style.swift
[6/21] Compiling Rainbow Color.swift
[7/21] Compiling Rainbow ControlCode.swift
[8/21] Compiling Rainbow StringGenerator.swift
[9/21] Compiling Rainbow XcodeColorsSupport.swift
[10/21] Emitting module Rainbow
[11/21] Compiling Rainbow BackgroundColor.swift
[12/21] Compiling Rainbow CodesParser.swift
[13/21] Compiling Rainbow String+Rainbow.swift
[14/21] Compiling Rainbow ModesExtractor.swift
[15/21] Compiling Rainbow OutputTarget.swift
[16/21] Compiling Rainbow Rainbow.swift
[17/22] Wrapping AST for Rainbow for debugging
[19/36] Compiling Bariloche Command+Mirror.swift
[20/36] Compiling Bariloche OutputStreamer.swift
[21/36] Compiling Bariloche Command.swift
[22/36] Compiling Bariloche Flag.swift
[23/36] Compiling Bariloche Bariloche.swift
[24/36] Compiling Bariloche BaseArgument.swift
[25/36] Compiling Bariloche Argument.swift
[26/36] Compiling Bariloche Autocomplete.swift
[27/36] Emitting module Bariloche
[28/36] Compiling Bariloche AutocompleteWriter.swift
[29/36] Compiling Bariloche Command+Assertions.swift
[30/37] Compiling Bariloche StringTypeConverter.swift
[31/37] Compiling Bariloche Parser.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: error: generic parameter 'Value' could not be inferred
                argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
                                                                      ^
/host/spi-builder-workspace/Sources/Bariloche/Argument.swift:10:23: note: 'Value' declared as parameter to type 'Argument'
public class Argument<Value>: BaseArgument {
                      ^
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: note: explicitly specify the generic arguments to fix this issue
                argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
                                                                      ^
                                                                              <Any>
[32/37] Compiling Bariloche Process+Shell.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: error: generic parameter 'Value' could not be inferred
                argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
                                                                      ^
/host/spi-builder-workspace/Sources/Bariloche/Argument.swift:10:23: note: 'Value' declared as parameter to type 'Argument'
public class Argument<Value>: BaseArgument {
                      ^
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: note: explicitly specify the generic arguments to fix this issue
                argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
                                                                      ^
                                                                              <Any>
[33/37] Compiling Bariloche UsagePrinter.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling Bariloche Process+Shell.swift
[3/8] Emitting module Bariloche
[4/8] Compiling Bariloche Parser.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: error: generic parameter 'Value' could not be inferred
                argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
                                                                      ^
/host/spi-builder-workspace/Sources/Bariloche/Argument.swift:10:23: note: 'Value' declared as parameter to type 'Argument'
public class Argument<Value>: BaseArgument {
                      ^
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: note: explicitly specify the generic arguments to fix this issue
                argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
                                                                      ^
                                                                              <Any>
[5/9] Compiling Bariloche AutocompleteWriter.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1