The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Yakka 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/KieranHarper/Yakka.git
Reference: master
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/KieranHarper/Yakka
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at af26fa7 Release 2.1.3
Cloned https://github.com/KieranHarper/Yakka.git
Revision (git rev-parse @):
af26fa778cd25c6ae5b24abfd141d48c3a37c144
SUCCESS checkout https://github.com/KieranHarper/Yakka.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/KieranHarper/Yakka.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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14209] Fetching quick
Fetched https://github.com/Quick/Quick.git from cache (0.60s)
[1/17291] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.39s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.41s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.39s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling Yakka Task.swift
/host/spi-builder-workspace/Sources/Task.swift:140:10: error: Objective-C interoperability is disabled
        @objc private func poll() {
        ~^~~~~

[4/8] Compiling Yakka TaskRetryHelper.swift
[5/8] Compiling Yakka MultiTask.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling Yakka Line.swift
[7/8] 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() {
        ~^~~~~

[8/8] 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] 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() {
        ~^~~~~

[3/4] Compiling Yakka Task.swift
/host/spi-builder-workspace/Sources/Task.swift:140:10: error: Objective-C interoperability is disabled
        @objc private func poll() {
        ~^~~~~

[4/4] 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.10 linux

Build Machine: Linux 1