The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DependencyInjection with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/sebastianpixel/dependencyinjection.git
Reference: 2.0.2
Cloned https://github.com/sebastianpixel/dependencyinjection.git into spi-builder-workspace
SUCCESS checkout https://github.com/sebastianpixel/dependencyinjection.git at 2.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/realm/SwiftLint
[1/108681] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint (26.40s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/jpsim/Yams.git
[1/2736] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (0.33s)
Fetching https://github.com/Carthage/Commandant.git
[1/15746] Fetching nimble
[11496/24352] Fetching nimble, yams
[11755/26675] Fetching nimble, yams, commandant
Fetched https://github.com/Carthage/Commandant.git (0.30s)
Fetching https://github.com/Quick/Quick.git
[17154/24352] Fetching nimble, yams
[24181/38055] Fetching nimble, yams, quick
Fetched https://github.com/Quick/Nimble.git (1.37s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetched https://github.com/jpsim/Yams.git (1.38s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetched https://github.com/Quick/Quick.git (0.79s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/929] Fetching swiftytexttable
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git (0.27s)
[1/12427] Fetching cryptoswift
[747/28009] Fetching cryptoswift, sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git (1.65s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (2.12s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (1.40s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.32s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.32s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.31s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.1 (0.30s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.1 (0.31s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.34s)
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.1
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at master
Building for debugging...
[1/15] Compiling DependencyInjection New.swift
[2/15] Compiling DependencyInjection Shared.swift
[3/16] Compiling DependencyInjection LazyInject.swift
[4/16] Compiling DependencyInjection MutableInject.swift
[5/16] Compiling DependencyInjection ModuleBuilder.swift
/host/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
/host/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
[6/16] Compiling DependencyInjection RegistrationBuilder.swift
/host/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
/host/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
[7/16] Compiling DependencyInjection Registrar.swift
[8/16] Compiling DependencyInjection Registration.swift
[9/16] Compiling DependencyInjection Module.swift
[10/16] Compiling DependencyInjection Inject.swift
[11/16] Compiling DependencyInjection MutableLazyInject.swift
/host/spi-builder-workspace/Sources/DependencyInjection/ReentrantSyncQueue.swift:13:50: error: operator function '==' requires that 'DispatchQueue' conform to 'Equatable'
        DispatchQueue.getSpecific(key: Self.key) == queue
                                                 ^
Swift.Optional:1:11: note: requirement from conditional conformance of 'Optional<DispatchQueue>' to 'Equatable'
extension Optional : Equatable where Wrapped : Equatable {
          ^
[12/16] Compiling DependencyInjection ReentrantSyncQueue.swift
/host/spi-builder-workspace/Sources/DependencyInjection/ReentrantSyncQueue.swift:13:50: error: operator function '==' requires that 'DispatchQueue' conform to 'Equatable'
        DispatchQueue.getSpecific(key: Self.key) == queue
                                                 ^
Swift.Optional:1:11: note: requirement from conditional conformance of 'Optional<DispatchQueue>' to 'Equatable'
extension Optional : Equatable where Wrapped : Equatable {
          ^
[13/16] Compiling DependencyInjection Resolver.swift
[14/16] Emitting module DependencyInjection
/host/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
/host/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
[15/16] Compiling DependencyInjection DIContainer.swift
[16/16] Compiling DependencyInjection DependencyRegistering.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2