The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Failable 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/skelpo/failable.git
Reference: 0.4.0
Cloned https://github.com/skelpo/failable.git into spi-builder-workspace
SUCCESS checkout https://github.com/skelpo/failable.git at 0.4.0
========================================
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
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/27] Emitting module Failable
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
                ^
/host/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
                       ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
extension Failable: Collection where T: Collection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension Failable: Collection where T: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
[2/30] Compiling Failable Failable+Bool.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
extension Failable: Collection where T: Collection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension Failable: Collection where T: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
[3/30] Compiling Failable Failable+Codable.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
extension Failable: Collection where T: Collection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension Failable: Collection where T: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
[4/30] Compiling Failable Failable+Collection.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
extension Failable: Collection where T: Collection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension Failable: Collection where T: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
[5/30] Compiling Failable Failable+Comparable.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: type 'Failable<T, Validations>' does not conform to protocol 'Collection'
extension Failable: Collection where T: Collection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension Failable: Collection where T: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: type 'Failable<T, Validations>' does not conform to protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:30:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
extension Failable: BidirectionalCollection where T: BidirectionalCollection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.BidirectionalCollection:14:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: type 'Failable<T, Validations>' does not conform to protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+Collection.swift:38:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'
extension Failable: RandomAccessCollection where T: RandomAccessCollection {}
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.RandomAccessCollection:7:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
             ^
[6/30] Compiling Failable Failable+UnsignedInteger.swift
[7/30] Compiling Failable Failable.swift
[8/30] Compiling Failable Operators.swift
[9/30] Compiling Failable Failable+Error.swift
[10/30] Compiling Failable Failable+ExpressibleByLiteral.swift
[11/30] Compiling Failable Failable+FixedWidthInteger.swift
[12/30] Compiling Failable Failable+FloatingPoint.swift
[13/30] Compiling Failable Failable+Sequence.swift
[14/30] Compiling Failable Failable+SignedNumeric.swift
[15/30] Compiling Failable Failable+Strideable.swift
[16/30] Compiling Failable Failable+StringRepresentation.swift
[17/30] Compiling Failable Failable+Hashable.swift
[18/30] Compiling Failable Failable+Numeric.swift
[19/30] Compiling Failable Failable+Optional.swift
[20/30] Compiling Failable Failable+RawRepresentable.swift
[21/30] Compiling Failable Validation.swift
[22/30] Compiling Failable AppendedValidations.swift
[23/30] Compiling Failable CollectionValidations.swift
[24/30] Compiling Failable CodableContainer.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
                ^
/host/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
                       ^
[25/30] Compiling Failable Error.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
                ^
/host/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
                       ^
[26/30] Compiling Failable Failable+BinaryFloatingPoint.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
                ^
/host/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
                       ^
[27/30] Compiling Failable Failable+BinaryInteger.swift
/host/spi-builder-workspace/Sources/Failable/Failable+Helpers/Failable+BinaryInteger.swift:39:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    public init<T>(truncatingIfNeeded source: T)throws where T : BinaryInteger {
                ^
/host/spi-builder-workspace/Sources/Failable/Failable.swift:36:24: note: 'T' previously declared here
public struct Failable<T, Validations> where Validations: Validation, Validations.Supported == T {
                       ^
[28/30] Compiling Failable ComparableValidations.swift
[29/30] Compiling Failable OptionalValidations.swift
[30/30] Compiling Failable StringValidations.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1