The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Leash 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/LucianoPolit/Leash.git
Reference: 3.2.0
Cloned https://github.com/LucianoPolit/Leash.git into spi-builder-workspace
SUCCESS checkout https://github.com/LucianoPolit/Leash.git at 3.2.0
========================================
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/AliSoftware/OHHTTPStubs
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/7576] Fetching ohhttpstubs
[7577/58254] Fetching ohhttpstubs, rxswift
[12645/84970] Fetching ohhttpstubs, rxswift, alamofire
Fetched https://github.com/AliSoftware/OHHTTPStubs (3.04s)
Fetched https://github.com/ReactiveX/RxSwift.git (3.07s)
Fetched https://github.com/Alamofire/Alamofire.git (3.09s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.38s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.45s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.7.1 (0.30s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.7.1
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Building for debugging...
[1/167] Emitting module Alamofire
[2/171] Emitting module RxSwift
[3/189] Compiling RxSwift AddRef.swift
[4/189] Compiling RxSwift Amb.swift
[5/189] Compiling RxSwift AnonymousDisposable.swift
[6/189] Compiling RxSwift AnonymousObserver.swift
[7/189] Compiling RxSwift AnyObserver.swift
[8/189] Compiling RxSwift Dematerialize.swift
[9/189] Compiling RxSwift Deprecated.swift
[10/189] Compiling RxSwift DispatchQueue+Extensions.swift
[11/189] Compiling RxSwift DispatchQueueConfiguration.swift
[12/189] Compiling RxSwift Disposable.swift
[13/189] Compiling RxSwift Disposables.swift
[14/189] Compiling RxSwift DisposeBag.swift
[15/189] Compiling RxSwift DisposeBase.swift
[16/189] Compiling RxSwift DistinctUntilChanged.swift
[17/189] Compiling RxSwift Do.swift
[18/189] Compiling RxSwift ElementAt.swift
[19/189] Compiling RxSwift Empty.swift
[20/189] Compiling RxSwift Enumerated.swift
[21/189] Compiling RxSwift Error.swift
[22/189] Compiling RxSwift Errors.swift
[23/189] Compiling RxSwift Event.swift
[24/189] Compiling RxSwift Filter.swift
[25/189] Compiling RxSwift First.swift
[26/189] Compiling RxSwift Generate.swift
[27/189] Compiling RxSwift CombineLatest+arity.swift
[28/189] Compiling RxSwift CombineLatest.swift
[29/189] Compiling RxSwift CompactMap.swift
[30/189] Compiling RxSwift Completable+AndThen.swift
[31/189] Compiling RxSwift Completable.swift
[32/189] Compiling RxSwift ConnectableObservableType.swift
[33/189] Compiling RxSwift Create.swift
[34/189] Compiling RxSwift CurrentThreadScheduler.swift
[35/189] Compiling RxSwift Date+Dispatch.swift
[36/189] Compiling RxSwift Debounce.swift
[37/189] Compiling RxSwift CompositeDisposable.swift
[38/189] Compiling RxSwift Concat.swift
[39/189] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[40/189] Compiling RxSwift ConcurrentMainScheduler.swift
[41/189] Compiling RxSwift AtomicInt.swift
[42/189] Compiling RxSwift Bag+Rx.swift
[43/189] Compiling RxSwift Bag.swift
[44/189] Compiling RxSwift BehaviorSubject.swift
[45/189] Compiling RxSwift BinaryDisposable.swift
[46/189] Compiling RxSwift BooleanDisposable.swift
[47/189] Compiling RxSwift Buffer.swift
[48/189] Compiling RxSwift Cancelable.swift
[49/189] Compiling RxSwift Catch.swift
[50/189] Compiling RxSwift CombineLatest+Collection.swift
[51/189] Compiling RxSwift AsMaybe.swift
[52/189] Compiling RxSwift AsSingle.swift
[53/189] Compiling RxSwift AsyncLock.swift
[54/189] Compiling RxSwift AsyncSubject.swift
[74/189] Compiling RxSwift Reactive.swift
[75/189] Compiling RxSwift RecursiveLock.swift
[76/189] Compiling RxSwift RecursiveScheduler.swift
[77/189] Compiling RxSwift Reduce.swift
[78/189] Compiling RxSwift RefCountDisposable.swift
[79/189] Compiling RxSwift Repeat.swift
[80/189] Compiling RxSwift ReplaySubject.swift
[81/189] Compiling RxSwift RetryWhen.swift
[82/189] Compiling RxSwift Rx.swift
[83/189] Compiling RxSwift RxMutableBox.swift
[84/189] Compiling RxSwift Sample.swift
[85/189] Compiling RxSwift Scan.swift
[86/189] Compiling RxSwift ScheduledDisposable.swift
[87/189] Compiling RxSwift ScheduledItem.swift
[88/189] Compiling RxSwift ScheduledItemType.swift
[89/189] Compiling RxSwift SchedulerServices+Emulation.swift
[90/189] Compiling RxSwift SchedulerType.swift
[91/189] Compiling RxSwift Sequence.swift
[92/189] Compiling RxSwift SerialDispatchQueueScheduler.swift
[93/189] Compiling Alamofire URLEncodedFormEncoder.swift
[94/189] Compiling Alamofire URLRequest+Alamofire.swift
[95/189] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[96/189] Compiling Alamofire Validation.swift
[97/189] Compiling RxSwift Observable.swift
[98/189] Compiling RxSwift ObservableConvertibleType.swift
[99/189] Compiling RxSwift ObservableType+Extensions.swift
[100/189] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[101/189] Compiling RxSwift ObservableType.swift
[102/189] Compiling RxSwift ObserveOn.swift
[103/189] Compiling RxSwift ObserverBase.swift
[104/189] Compiling RxSwift ObserverType.swift
[105/189] Compiling RxSwift OperationQueueScheduler.swift
[106/189] Compiling RxSwift Optional.swift
[107/189] Compiling RxSwift Platform.Darwin.swift
[108/189] Compiling RxSwift Platform.Linux.swift
[109/189] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[110/189] Compiling RxSwift PrimitiveSequence.swift
[111/189] Compiling RxSwift PriorityQueue.swift
[112/189] Compiling RxSwift Producer.swift
[113/189] Compiling RxSwift PublishSubject.swift
[114/189] Compiling RxSwift Queue.swift
[115/189] Compiling RxSwift Range.swift
[116/189] Compiling RxSwift GroupBy.swift
[117/189] Compiling RxSwift GroupedObservable.swift
[118/189] Compiling RxSwift HistoricalScheduler.swift
[119/189] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[120/189] Compiling RxSwift ImmediateSchedulerType.swift
[121/189] Compiling RxSwift InfiniteSequence.swift
[122/189] Compiling RxSwift InvocableScheduledItem.swift
[123/189] Compiling RxSwift InvocableType.swift
[124/189] Compiling RxSwift Just.swift
[125/189] Compiling RxSwift Lock.swift
[126/189] Compiling RxSwift LockOwnerType.swift
[127/189] Compiling RxSwift MainScheduler.swift
[128/189] Compiling RxSwift Map.swift
[129/189] Compiling RxSwift Materialize.swift
[130/189] Compiling RxSwift Maybe.swift
[131/189] Compiling RxSwift Merge.swift
[132/189] Compiling RxSwift Multicast.swift
[133/189] Compiling RxSwift Never.swift
[134/189] Compiling RxSwift NopDisposable.swift
[135/189] Compiling RxSwift SerialDisposable.swift
[136/189] Compiling RxSwift ShareReplayScope.swift
[137/189] Compiling RxSwift Single.swift
[138/189] Compiling RxSwift SingleAssignmentDisposable.swift
[139/189] Compiling RxSwift SingleAsync.swift
[140/189] Compiling RxSwift Sink.swift
[141/189] Compiling RxSwift Skip.swift
[142/189] Compiling RxSwift SkipUntil.swift
[143/189] Compiling RxSwift SkipWhile.swift
[144/189] Compiling RxSwift StartWith.swift
[145/189] Compiling RxSwift SubjectType.swift
[146/189] Compiling RxSwift SubscribeOn.swift
[147/189] Compiling RxSwift SubscriptionDisposable.swift
[148/189] Compiling RxSwift SwiftSupport.swift
[149/189] Compiling RxSwift Switch.swift
[150/189] Compiling RxSwift SwitchIfEmpty.swift
[151/189] Compiling RxSwift SynchronizedDisposeType.swift
[152/189] Compiling RxSwift SynchronizedOnType.swift
[173/191] Compiling RxSwift DelaySubscription.swift
[174/206] Compiling Leash ExecutionInterceptor.swift
[175/206] Compiling Leash FailureInterceptor.swift
[176/208] Compiling Leash Error.swift
[177/208] Compiling Leash CompletionInterceptor.swift
[178/208] Compiling Leash QueryEncodable.swift
[179/208] Compiling Leash Response.swift
[180/208] Compiling Leash SuccessInterceptor.swift
/host/spi-builder-workspace/Source/Core/Interceptors/SuccessInterceptor.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[181/208] Compiling Leash Manager.swift
/host/spi-builder-workspace/Source/Core/Interceptors/SuccessInterceptor.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[182/208] Compiling Leash Client.swift
[183/208] Compiling Leash Endpoint.swift
[184/208] Compiling Leash Alamofire+Leash.swift
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:340:25: warning: enum case 'execution' has 2 associated values; matching them as a tuple is deprecated
        case .execution(let value):
                        ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:280:14: note: 'execution(endpoint:request:)' declared here
        case execution(
             ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:345:23: warning: enum case 'failure' has 3 associated values; matching them as a tuple is deprecated
        case .failure(let value):
                      ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:284:14: note: 'failure(endpoint:request:error:)' declared here
        case failure(
             ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:351:23: warning: enum case 'success' has 4 associated values; matching them as a tuple is deprecated
        case .success(let value):
                      ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:289:14: note: 'success(endpoint:request:response:data:)' declared here
        case success(
             ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:358:26: warning: enum case 'completion' has 3 associated values; matching them as a tuple is deprecated
        case .completion(let value):
                         ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:295:14: note: 'completion(endpoint:request:response:)' declared here
        case completion(
             ^
[185/208] Compiling Leash Authenticator.swift
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:340:25: warning: enum case 'execution' has 2 associated values; matching them as a tuple is deprecated
        case .execution(let value):
                        ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:280:14: note: 'execution(endpoint:request:)' declared here
        case execution(
             ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:345:23: warning: enum case 'failure' has 3 associated values; matching them as a tuple is deprecated
        case .failure(let value):
                      ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:284:14: note: 'failure(endpoint:request:error:)' declared here
        case failure(
             ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:351:23: warning: enum case 'success' has 4 associated values; matching them as a tuple is deprecated
        case .success(let value):
                      ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:289:14: note: 'success(endpoint:request:response:data:)' declared here
        case success(
             ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:358:26: warning: enum case 'completion' has 3 associated values; matching them as a tuple is deprecated
        case .completion(let value):
                         ^
/host/spi-builder-workspace/Source/Core/Alamofire+Leash.swift:295:14: note: 'completion(endpoint:request:response:)' declared here
        case completion(
             ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[186/208] Emitting module Leash
/host/spi-builder-workspace/Source/Core/Interceptors/SerializationInterceptor.swift:31:35: warning: cannot use associated type 'SerializedObject' here; 'Alamofire' was not imported by this file
        chain: InterceptorChain<T.SerializedObject>,
                                  ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: type declared here
    associatedtype SerializedObject
                   ^
/host/spi-builder-workspace/Source/Core/Interceptors/SerializationInterceptor.swift:33:26: warning: cannot use associated type 'SerializedObject' here; 'Alamofire' was not imported by this file
        result: Result<T.SerializedObject, Swift.Error>,
                         ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: type declared here
    associatedtype SerializedObject
                   ^
/host/spi-builder-workspace/Source/Core/Interceptors/SuccessInterceptor.swift:32:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[187/208] Compiling Leash InterceptorsExecutor.swift
/host/spi-builder-workspace/Source/Core/Interceptors/SerializationInterceptor.swift:31:35: warning: cannot use associated type 'SerializedObject' here; 'Alamofire' was not imported by this file
        chain: InterceptorChain<T.SerializedObject>,
                                  ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: type declared here
    associatedtype SerializedObject
                   ^
/host/spi-builder-workspace/Source/Core/Interceptors/SerializationInterceptor.swift:33:26: warning: cannot use associated type 'SerializedObject' here; 'Alamofire' was not imported by this file
        result: Result<T.SerializedObject, Swift.Error>,
                         ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: type declared here
    associatedtype SerializedObject
                   ^
[188/208] Compiling Leash SerializationInterceptor.swift
/host/spi-builder-workspace/Source/Core/Interceptors/SerializationInterceptor.swift:31:35: warning: cannot use associated type 'SerializedObject' here; 'Alamofire' was not imported by this file
        chain: InterceptorChain<T.SerializedObject>,
                                  ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: type declared here
    associatedtype SerializedObject
                   ^
/host/spi-builder-workspace/Source/Core/Interceptors/SerializationInterceptor.swift:33:26: warning: cannot use associated type 'SerializedObject' here; 'Alamofire' was not imported by this file
        result: Result<T.SerializedObject, Swift.Error>,
                         ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: type declared here
    associatedtype SerializedObject
                   ^
[189/208] Compiling Leash Interceptor.swift
[190/208] Compiling Leash InterceptorChain.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1