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-0":/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: 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/LucianoPolit/Leash
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e76d42d Update README
Cloned https://github.com/LucianoPolit/Leash.git
Revision (git rev-parse @):
e76d42d6c803a1178d7eadc62c797ad2417a7d5a
SUCCESS checkout https://github.com/LucianoPolit/Leash.git at master
========================================
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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7695] Fetching ohhttpstubs
[7696/58709] Fetching ohhttpstubs, rxswift
[17899/86758] Fetching ohhttpstubs, rxswift, alamofire
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (3.59s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (3.63s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.66s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.46s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.67s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.41s)
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 Alamofire
[8/177] Compiling RxSwift AddRef.swift
[9/177] Compiling RxSwift Amb.swift
[10/177] Compiling RxSwift AnonymousDisposable.swift
[11/177] Compiling RxSwift AnonymousObserver.swift
[12/177] Compiling RxSwift AnyObserver.swift
[13/177] Compiling RxSwift AsMaybe.swift
[14/177] Compiling RxSwift AsSingle.swift
[15/177] Compiling RxSwift AsyncLock.swift
[16/177] Compiling RxSwift AsyncSubject.swift
[17/177] Compiling RxSwift AtomicInt.swift
[18/177] Compiling RxSwift Bag+Rx.swift
[19/177] Compiling RxSwift Bag.swift
[20/177] Compiling RxSwift BehaviorSubject.swift
[21/177] Compiling RxSwift BinaryDisposable.swift
[22/177] Compiling RxSwift BooleanDisposable.swift
[23/177] Compiling RxSwift Buffer.swift
[24/177] Compiling RxSwift Cancelable.swift
[25/177] Compiling RxSwift Catch.swift
[26/177] Compiling RxSwift CombineLatest+Collection.swift
[27/177] Compiling Alamofire URLEncodedFormEncoder.swift
[28/178] Compiling Alamofire URLRequest+Alamofire.swift
[29/178] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[30/178] Compiling Alamofire Validation.swift
[45/179] Compiling RxSwift Dematerialize.swift
[46/179] Compiling RxSwift Deprecated.swift
[47/180] Compiling RxSwift DispatchQueue+Extensions.swift
[48/180] Compiling RxSwift DispatchQueueConfiguration.swift
[49/180] Compiling RxSwift Disposable.swift
[55/182] Compiling RxSwift ElementAt.swift
[56/182] Compiling RxSwift Empty.swift
[57/182] Compiling RxSwift Enumerated.swift
[58/182] Compiling RxSwift Error.swift
[59/182] Compiling RxSwift Disposables.swift
[60/182] Compiling RxSwift DisposeBag.swift
[61/182] Compiling RxSwift DisposeBase.swift
[62/182] Compiling RxSwift DistinctUntilChanged.swift
[63/182] Compiling RxSwift Do.swift
[64/195] Compiling RxSwift Observable.swift
[65/195] Compiling RxSwift ObservableConvertibleType.swift
[66/195] Compiling RxSwift ObservableType+Extensions.swift
[67/195] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[68/195] Compiling RxSwift ObservableType.swift
[69/195] Compiling RxSwift ObserveOn.swift
[70/195] Compiling RxSwift ObserverBase.swift
[71/195] Compiling RxSwift ObserverType.swift
[72/195] Compiling RxSwift OperationQueueScheduler.swift
[73/195] Compiling RxSwift Optional.swift
[74/195] Compiling RxSwift Platform.Darwin.swift
[75/195] Compiling RxSwift Platform.Linux.swift
[76/195] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[77/195] Compiling RxSwift PrimitiveSequence.swift
[78/195] Compiling RxSwift PriorityQueue.swift
[79/195] Compiling RxSwift Producer.swift
[80/195] Compiling RxSwift PublishSubject.swift
[81/195] Compiling RxSwift Queue.swift
[82/195] Compiling RxSwift Range.swift
[101/195] Compiling RxSwift Generate.swift
[102/195] Compiling RxSwift SerialDisposable.swift
[103/195] Compiling RxSwift ShareReplayScope.swift
[104/195] Compiling RxSwift Single.swift
[105/195] Compiling RxSwift SingleAssignmentDisposable.swift
[106/195] Compiling RxSwift SingleAsync.swift
[107/195] Compiling RxSwift Sink.swift
[108/195] Compiling RxSwift Skip.swift
[109/195] Compiling RxSwift SkipUntil.swift
[110/195] Compiling RxSwift SkipWhile.swift
[111/195] Compiling RxSwift StartWith.swift
[112/195] Compiling RxSwift SubjectType.swift
[113/195] Compiling RxSwift SubscribeOn.swift
[114/195] Compiling RxSwift SubscriptionDisposable.swift
[115/195] Compiling RxSwift SwiftSupport.swift
[116/195] Compiling RxSwift Switch.swift
[117/195] Compiling RxSwift SwitchIfEmpty.swift
[118/195] Compiling RxSwift SynchronizedDisposeType.swift
[119/195] Compiling RxSwift SynchronizedOnType.swift
[120/195] Compiling RxSwift GroupBy.swift
[121/195] Compiling RxSwift GroupedObservable.swift
[122/195] Compiling RxSwift HistoricalScheduler.swift
[123/195] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[124/195] Compiling RxSwift ImmediateSchedulerType.swift
[125/195] Compiling RxSwift InfiniteSequence.swift
[126/195] Compiling RxSwift InvocableScheduledItem.swift
[127/195] Compiling RxSwift InvocableType.swift
[128/195] Compiling RxSwift Just.swift
[129/195] Compiling RxSwift Lock.swift
[130/195] Compiling RxSwift LockOwnerType.swift
[131/195] Compiling RxSwift MainScheduler.swift
[132/195] Compiling RxSwift Map.swift
[133/195] Compiling RxSwift Materialize.swift
[134/195] Compiling RxSwift Maybe.swift
[135/195] Compiling RxSwift Merge.swift
[136/195] Compiling RxSwift Multicast.swift
[137/195] Compiling RxSwift Never.swift
[138/195] Compiling RxSwift NopDisposable.swift
[139/195] Compiling RxSwift Reactive.swift
[140/195] Compiling RxSwift RecursiveLock.swift
[141/195] Compiling RxSwift RecursiveScheduler.swift
[142/195] Compiling RxSwift Reduce.swift
[143/195] Compiling RxSwift RefCountDisposable.swift
[144/195] Compiling RxSwift Repeat.swift
[145/195] Compiling RxSwift ReplaySubject.swift
[146/195] Compiling RxSwift RetryWhen.swift
[147/195] Compiling RxSwift Rx.swift
[148/195] Compiling RxSwift RxMutableBox.swift
[149/195] Compiling RxSwift Sample.swift
[150/195] Compiling RxSwift Scan.swift
[151/195] Compiling RxSwift ScheduledDisposable.swift
[152/195] Compiling RxSwift ScheduledItem.swift
[153/195] Compiling RxSwift ScheduledItemType.swift
[154/195] Compiling RxSwift SchedulerServices+Emulation.swift
[155/195] Compiling RxSwift SchedulerType.swift
[156/195] Compiling RxSwift Sequence.swift
[157/195] Compiling RxSwift SerialDispatchQueueScheduler.swift
[158/195] Emitting module RxSwift
[159/195] Compiling RxSwift CombineLatest+arity.swift
[160/195] Compiling RxSwift CombineLatest.swift
[161/195] Compiling RxSwift CompactMap.swift
[162/195] Compiling RxSwift Completable+AndThen.swift
[163/195] Compiling RxSwift Completable.swift
[164/195] Compiling RxSwift CompositeDisposable.swift
[165/195] Compiling RxSwift Concat.swift
[166/195] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[167/195] Compiling RxSwift ConcurrentMainScheduler.swift
[168/195] Compiling RxSwift ConnectableObservableType.swift
[169/195] Compiling RxSwift Create.swift
[170/195] Compiling RxSwift CurrentThreadScheduler.swift
[171/195] Compiling RxSwift Date+Dispatch.swift
[172/195] Compiling RxSwift Debounce.swift
[173/195] Compiling RxSwift Debug.swift
[174/195] Compiling RxSwift DefaultIfEmpty.swift
[175/195] Compiling RxSwift Deferred.swift
[176/195] Compiling RxSwift Delay.swift
[177/195] Compiling RxSwift DelaySubscription.swift
[179/211] Compiling Leash Interceptor.swift
[180/211] Compiling Leash InterceptorChain.swift
[181/211] Compiling Leash ExecutionInterceptor.swift
[182/211] Compiling Leash FailureInterceptor.swift
[183/213] Compiling Leash Error.swift
[184/213] Compiling Leash CompletionInterceptor.swift
[185/213] Compiling Leash QueryEncodable.swift
[186/213] Compiling Leash Response.swift
[187/213] 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/213] 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/213] 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
                 ^
[190/213] 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
                 ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[191/213] Compiling Leash Client.swift
[192/213] Compiling Leash Endpoint.swift
[193/213] 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(
             ^
[194/213] 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(
             ^
[195/213] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/21] 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
                 ^
[3/21] 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
                 ^
[4/21] Compiling Leash Manager.swift
[5/25] Compiling Leash Client.swift
[6/25] Compiling RxSwift TakeLast.swift
[7/25] Compiling RxSwift TakeUntil.swift
[8/25] Compiling RxSwift TakeWhile.swift
[9/27] Compiling RxSwift VirtualTimeScheduler.swift
[10/27] Compiling RxSwift Window.swift
[11/27] Compiling RxSwift Throttle.swift
[12/27] Compiling RxSwift Timeout.swift
[13/45] 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(
             ^
[14/45] Compiling Leash InterceptorChain.swift
[15/45] Compiling Leash InterceptorsExecutor.swift
[16/45] Compiling RxSwift SynchronizedUnsubscribeType.swift
[17/45] Compiling RxSwift TailRecursiveSink.swift
[18/45] Compiling RxSwift Take.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2