The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Yakka with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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/KieranHarper/Yakka.git
Reference: 2.1.3
Cloned https://github.com/KieranHarper/Yakka.git into spi-builder-workspace
SUCCESS checkout https://github.com/KieranHarper/Yakka.git at 2.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/13702] Fetching quick
[9182/29448] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (1.04s)
Fetched https://github.com/Quick/Nimble.git (1.05s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.29s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.27s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Building for debugging...
[1/6] Compiling Yakka TaskRetryHelper.swift
[2/6] Compiling Yakka Task.swift
/host/spi-builder-workspace/Sources/Task.swift:140:10: error: Objective-C interoperability is disabled
        @objc private func poll() {
        ~^~~~~
        
[3/6] Compiling Yakka MultiTask.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling Yakka Line.swift
[5/6] Emitting module Yakka
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:42:107: error: type 'DispatchQueue' does not conform to protocol 'Hashable'
private func getQueueBatches<T>(from helpers: [FeedbackHandlerHelper<T>], defaultQueue: DispatchQueue) -> [DispatchQueue: [(T)->()]] {
                                                                                                          ^
/host/spi-builder-workspace/Sources/Task.swift:140:10: error: Objective-C interoperability is disabled
        @objc private func poll() {
        ~^~~~~
        
[6/6] Compiling Yakka FeedbackHandlerHelper.swift
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:42:107: error: type 'DispatchQueue' does not conform to protocol 'Hashable'
private func getQueueBatches<T>(from helpers: [FeedbackHandlerHelper<T>], defaultQueue: DispatchQueue) -> [DispatchQueue: [(T)->()]] {
                                                                                                          ^
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:21:5: error: referencing instance method 'next()' on 'Dictionary.Iterator' requires that 'DispatchQueue' conform to 'Hashable'
    for (queue, batch) in batches {
    ^
Swift.Dictionary.Iterator:1:11: note: where 'Key' = 'DispatchQueue'
extension Dictionary.Iterator : IteratorProtocol {
          ^
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:21:27: error: referencing instance method 'makeIterator()' on 'Dictionary' requires that 'DispatchQueue' conform to 'Hashable'
    for (queue, batch) in batches {
                          ^
Swift.Dictionary:1:11: note: where 'Key' = 'DispatchQueue'
extension Dictionary : Sequence {
          ^
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:33:5: error: referencing instance method 'next()' on 'Dictionary.Iterator' requires that 'DispatchQueue' conform to 'Hashable'
    for (queue, batch) in batches {
    ^
Swift.Dictionary.Iterator:1:11: note: where 'Key' = 'DispatchQueue'
extension Dictionary.Iterator : IteratorProtocol {
          ^
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:33:27: error: referencing instance method 'makeIterator()' on 'Dictionary' requires that 'DispatchQueue' conform to 'Hashable'
    for (queue, batch) in batches {
                          ^
Swift.Dictionary:1:11: note: where 'Key' = 'DispatchQueue'
extension Dictionary : Sequence {
          ^
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:43:16: error: type 'DispatchQueue' does not conform to protocol 'Hashable'
    var dict = [DispatchQueue: [(T)->()]]()
               ^
/host/spi-builder-workspace/Sources/FeedbackHandlerHelper.swift:43:16: error: generic struct 'Dictionary' requires that 'DispatchQueue' conform to 'Hashable'
    var dict = [DispatchQueue: [(T)->()]]()
               ^
Swift.Dictionary:1:23: note: where 'Key' = 'DispatchQueue'
@frozen public struct Dictionary<Key, Value> where Key : Hashable {
                      ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1