The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Leash with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/LucianoPolit/Leash.git
Reference: 3.2.0
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/LucianoPolit/Leash
 * tag               3.2.0      -> FETCH_HEAD
HEAD is now at 1fcd9e5 New release
Cloned https://github.com/LucianoPolit/Leash.git
Revision (git rev-parse @):
1fcd9e5c424722cd0d86ff7c3d1761eacc7607ed
SUCCESS checkout https://github.com/LucianoPolit/Leash.git at 3.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/LucianoPolit/Leash.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/7695] Fetching ohhttpstubs
[7696/58709] Fetching ohhttpstubs, rxswift
[18409/86758] Fetching ohhttpstubs, rxswift, alamofire
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (3.51s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (3.56s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.58s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.48s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.59s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.56s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.8.1
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/173] Emitting module RxSwift
[8/191] Compiling RxSwift AsMaybe.swift
[9/191] Compiling RxSwift AsSingle.swift
[10/191] Compiling RxSwift AsyncLock.swift
[11/191] Compiling RxSwift AsyncSubject.swift
[12/191] Compiling RxSwift AtomicInt.swift
[13/195] Compiling RxSwift Bag+Rx.swift
[14/195] Compiling RxSwift Bag.swift
[15/195] Compiling RxSwift BehaviorSubject.swift
[16/195] Compiling RxSwift BinaryDisposable.swift
[17/195] Compiling RxSwift Do.swift
[18/195] Compiling RxSwift ElementAt.swift
[19/195] Compiling RxSwift Empty.swift
[20/195] Compiling RxSwift Enumerated.swift
[21/195] Compiling RxSwift Error.swift
[22/195] Compiling RxSwift Dematerialize.swift
[23/195] Compiling RxSwift Deprecated.swift
[24/195] Compiling RxSwift DispatchQueue+Extensions.swift
[25/195] Compiling RxSwift DispatchQueueConfiguration.swift
[26/195] Compiling RxSwift Disposable.swift
[27/195] Compiling RxSwift Disposables.swift
[28/195] Compiling RxSwift DisposeBag.swift
[29/195] Compiling RxSwift DisposeBase.swift
[30/195] Compiling RxSwift DistinctUntilChanged.swift
[36/195] Compiling Alamofire URLEncodedFormEncoder.swift
[37/195] Compiling Alamofire URLRequest+Alamofire.swift
[38/195] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[39/195] Compiling Alamofire Validation.swift
[40/195] Compiling RxSwift Generate.swift
[41/195] Emitting module Alamofire
[42/195] Compiling RxSwift AddRef.swift
[43/195] Compiling RxSwift Amb.swift
[44/195] Compiling RxSwift AnonymousDisposable.swift
[45/195] Compiling RxSwift AnonymousObserver.swift
[46/195] Compiling RxSwift AnyObserver.swift
[47/195] Compiling RxSwift SerialDisposable.swift
[48/195] Compiling RxSwift ShareReplayScope.swift
[49/195] Compiling RxSwift Single.swift
[50/195] Compiling RxSwift SingleAssignmentDisposable.swift
[51/195] Compiling RxSwift SingleAsync.swift
[52/195] Compiling RxSwift Sink.swift
[53/195] Compiling RxSwift Skip.swift
[54/195] Compiling RxSwift SkipUntil.swift
[55/195] Compiling RxSwift SkipWhile.swift
[56/195] Compiling RxSwift StartWith.swift
[57/195] Compiling RxSwift SubjectType.swift
[58/195] Compiling RxSwift SubscribeOn.swift
[59/195] Compiling RxSwift SubscriptionDisposable.swift
[60/195] Compiling RxSwift SwiftSupport.swift
[61/195] Compiling RxSwift Switch.swift
[62/195] Compiling RxSwift SwitchIfEmpty.swift
[63/195] Compiling RxSwift SynchronizedDisposeType.swift
[64/195] Compiling RxSwift SynchronizedOnType.swift
[65/195] Compiling RxSwift Reactive.swift
[66/195] Compiling RxSwift RecursiveLock.swift
[67/195] Compiling RxSwift RecursiveScheduler.swift
[68/195] Compiling RxSwift Reduce.swift
[69/195] Compiling RxSwift RefCountDisposable.swift
[70/195] Compiling RxSwift Repeat.swift
[71/195] Compiling RxSwift ReplaySubject.swift
[72/195] Compiling RxSwift RetryWhen.swift
[73/195] Compiling RxSwift Rx.swift
[74/195] Compiling RxSwift RxMutableBox.swift
[75/195] Compiling RxSwift Sample.swift
[76/195] Compiling RxSwift Scan.swift
[77/195] Compiling RxSwift ScheduledDisposable.swift
[78/195] Compiling RxSwift ScheduledItem.swift
[79/195] Compiling RxSwift ScheduledItemType.swift
[80/195] Compiling RxSwift SchedulerServices+Emulation.swift
[81/195] Compiling RxSwift SchedulerType.swift
[82/195] Compiling RxSwift Sequence.swift
[83/195] Compiling RxSwift SerialDispatchQueueScheduler.swift
[84/195] Compiling RxSwift BooleanDisposable.swift
[85/195] Compiling RxSwift Buffer.swift
[86/195] Compiling RxSwift Cancelable.swift
[87/195] Compiling RxSwift Catch.swift
[88/195] Compiling RxSwift CombineLatest+Collection.swift
[117/195] Compiling RxSwift GroupBy.swift
[118/195] Compiling RxSwift GroupedObservable.swift
[119/195] Compiling RxSwift HistoricalScheduler.swift
[120/195] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[121/195] Compiling RxSwift ImmediateSchedulerType.swift
[122/195] Compiling RxSwift InfiniteSequence.swift
[123/195] Compiling RxSwift InvocableScheduledItem.swift
[124/195] Compiling RxSwift InvocableType.swift
[125/195] Compiling RxSwift Just.swift
[126/195] Compiling RxSwift Lock.swift
[127/195] Compiling RxSwift LockOwnerType.swift
[128/195] Compiling RxSwift MainScheduler.swift
[129/195] Compiling RxSwift Map.swift
[130/195] Compiling RxSwift Materialize.swift
[131/195] Compiling RxSwift Maybe.swift
[132/195] Compiling RxSwift Merge.swift
[133/195] Compiling RxSwift Multicast.swift
[134/195] Compiling RxSwift Never.swift
[135/195] Compiling RxSwift NopDisposable.swift
[136/195] Compiling RxSwift CombineLatest+arity.swift
[137/195] Compiling RxSwift CombineLatest.swift
[138/195] Compiling RxSwift CompactMap.swift
[139/195] Compiling RxSwift Completable+AndThen.swift
[140/195] Compiling RxSwift Completable.swift
[141/195] Compiling RxSwift CompositeDisposable.swift
[142/195] Compiling RxSwift Concat.swift
[143/195] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[144/195] Compiling RxSwift ConcurrentMainScheduler.swift
[145/195] Compiling RxSwift ConnectableObservableType.swift
[146/195] Compiling RxSwift Create.swift
[147/195] Compiling RxSwift CurrentThreadScheduler.swift
[148/195] Compiling RxSwift Date+Dispatch.swift
[149/195] Compiling RxSwift Debounce.swift
[150/195] Compiling RxSwift Debug.swift
[151/195] Compiling RxSwift DefaultIfEmpty.swift
[152/195] Compiling RxSwift Deferred.swift
[153/195] Compiling RxSwift Delay.swift
[154/195] Compiling RxSwift DelaySubscription.swift
[155/195] Compiling RxSwift Observable.swift
[156/195] Compiling RxSwift ObservableConvertibleType.swift
[157/195] Compiling RxSwift ObservableType+Extensions.swift
[158/195] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[159/195] Compiling RxSwift ObservableType.swift
[160/195] Compiling RxSwift ObserveOn.swift
[161/195] Compiling RxSwift ObserverBase.swift
[162/195] Compiling RxSwift ObserverType.swift
[163/195] Compiling RxSwift OperationQueueScheduler.swift
[164/195] Compiling RxSwift Optional.swift
[165/195] Compiling RxSwift Platform.Darwin.swift
[166/195] Compiling RxSwift Platform.Linux.swift
[167/195] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[168/195] Compiling RxSwift PrimitiveSequence.swift
[169/195] Compiling RxSwift PriorityQueue.swift
[170/195] Compiling RxSwift Producer.swift
[171/195] Compiling RxSwift PublishSubject.swift
[172/195] Compiling RxSwift Queue.swift
[173/195] Compiling RxSwift Range.swift
[174/195] Compiling RxSwift SynchronizedUnsubscribeType.swift
[175/195] Compiling RxSwift TailRecursiveSink.swift
[176/195] Compiling RxSwift Take.swift
[177/195] Compiling RxSwift TakeLast.swift
[178/195] Compiling RxSwift TakeUntil.swift
[179/195] Compiling RxSwift TakeWhile.swift
[180/195] Compiling RxSwift Throttle.swift
[181/195] Compiling RxSwift Timeout.swift
[182/195] Compiling RxSwift Timer.swift
[183/195] Compiling RxSwift ToArray.swift
[184/195] Compiling RxSwift Using.swift
[185/195] Compiling RxSwift VirtualTimeConverterType.swift
[186/195] Compiling RxSwift VirtualTimeScheduler.swift
[187/195] Compiling RxSwift Window.swift
[188/195] Compiling RxSwift WithLatestFrom.swift
[189/195] Compiling RxSwift Zip+Collection.swift
[190/195] Compiling RxSwift Zip+arity.swift
[191/195] Compiling RxSwift Zip.swift
[198/212] Compiling Leash ExecutionInterceptor.swift
[199/212] Compiling Leash FailureInterceptor.swift
[200/214] Compiling Leash Error.swift
[201/214] Compiling Leash CompletionInterceptor.swift
[202/214] 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
                 ^
[203/214] 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
                 ^
[204/214] Compiling Leash QueryEncodable.swift
[205/214] Compiling Leash Response.swift
[206/214] Compiling Leash Interceptor.swift
[207/214] Compiling Leash InterceptorChain.swift
[208/214] 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
                   ^
[209/214] 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
                   ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[210/214] Compiling Leash Client.swift
[211/214] Compiling Leash Endpoint.swift
[212/214] 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(
             ^
[213/214] 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(
             ^
[214/214] 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
                 ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling Leash Manager.swift
[3/4] 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
                 ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/4] 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
                 ^
[5/8] 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(
             ^
[6/8] Compiling Leash Client.swift
[7/8] Compiling Leash InterceptorChain.swift
[8/8] Compiling Leash InterceptorsExecutor.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2