Build Information
Failed to build Bariloche, reference 1.0.4 (507f41), with Swift 6.2 for Linux on 17 Jun 2025 17:19:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: 6.2
Building package at path: $PWD
https://github.com/subito-it/bariloche.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.34s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (3.23s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/20] Compiling Rainbow Style.swift
[6/21] Compiling Rainbow StringGenerator.swift
[7/21] Compiling Rainbow XcodeColorsSupport.swift
[8/21] Compiling Rainbow Color.swift
[9/21] Compiling Rainbow ControlCode.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 StringTypeConverter.swift
[20/37] Compiling Bariloche Command+Mirror.swift
[21/37] Compiling Bariloche OutputStreamer.swift
[22/37] Compiling Bariloche Parser.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: error: generic parameter 'Value' could not be inferred
118 | return argument
119 | case .variadic where !lineArguments[0].hasPrefix("-"):
120 | argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
121 | return argument
122 | default:
/host/spi-builder-workspace/Sources/Bariloche/Argument.swift:10:23: note: 'Value' declared as parameter to type 'Argument'
8 | import Foundation
9 |
10 | public class Argument<Value>: BaseArgument {
| `- note: 'Value' declared as parameter to type 'Argument'
11 | public var value: Value? {
12 | guard let stringValue = stringValue else { return nil }
[23/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
118 | return argument
119 | case .variadic where !lineArguments[0].hasPrefix("-"):
120 | argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
121 | return argument
122 | default:
/host/spi-builder-workspace/Sources/Bariloche/Argument.swift:10:23: note: 'Value' declared as parameter to type 'Argument'
8 | import Foundation
9 |
10 | public class Argument<Value>: BaseArgument {
| `- note: 'Value' declared as parameter to type 'Argument'
11 | public var value: Value? {
12 | guard let stringValue = stringValue else { return nil }
[24/37] Compiling Bariloche Command.swift
[25/37] Compiling Bariloche Flag.swift
[26/37] Compiling Bariloche Argument.swift
[27/37] Compiling Bariloche Autocomplete.swift
[28/37] Emitting module Bariloche
[29/37] Compiling Bariloche Bariloche.swift
[30/37] Compiling Bariloche BaseArgument.swift
[31/37] Compiling Bariloche AutocompleteWriter.swift
[32/37] Compiling Bariloche Command+Assertions.swift
[33/37] Compiling Bariloche UsagePrinter.swift
BUILD FAILURE 6.2 linux