The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bariloche with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/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/subito-it/bariloche.git
Reference: 1.0.4
Cloned https://github.com/subito-it/bariloche.git into spi-builder-workspace
SUCCESS checkout https://github.com/subito-it/bariloche.git at 1.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/onevcat/Rainbow
[1/1110] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow (0.23s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.4 (0.90s)
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...
[1/15] Compiling Rainbow StringGenerator.swift
[2/15] Compiling Rainbow String+Rainbow.swift
[3/15] Compiling Rainbow Style.swift
[4/16] Compiling Rainbow XcodeColorsSupport.swift
[5/16] Compiling Rainbow Rainbow.swift
[6/16] Emitting module Rainbow
[7/16] Compiling Rainbow BackgroundColor.swift
[8/16] Compiling Rainbow CodesParser.swift
[9/16] Compiling Rainbow Color.swift
[10/16] Compiling Rainbow ControlCode.swift
[11/16] Compiling Rainbow ModesExtractor.swift
[12/16] Compiling Rainbow OutputTarget.swift
[14/18] Wrapping AST for Rainbow for debugging
[16/32] Compiling Bariloche Command.swift
[17/32] Compiling Bariloche Flag.swift
[18/33] Compiling Bariloche StringTypeConverter.swift
[19/33] Compiling Bariloche Argument.swift
[20/33] Compiling Bariloche Autocomplete.swift
[21/33] Emitting module Bariloche
[22/33] Compiling Bariloche Bariloche.swift
[23/33] Compiling Bariloche BaseArgument.swift
[24/33] Compiling Bariloche AutocompleteWriter.swift
[25/33] Compiling Bariloche Command+Assertions.swift
[26/33] Compiling Bariloche Command+Mirror.swift
[27/33] Compiling Bariloche OutputStreamer.swift
[28/33] 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>
[29/33] 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>
[30/33] Compiling Bariloche UsagePrinter.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1