The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Leash with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
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.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/7642] Fetching ohhttpstubs
[460/58474] Fetching ohhttpstubs, rxswift
[29501/86190] Fetching ohhttpstubs, rxswift, alamofire
Fetched https://github.com/AliSoftware/OHHTTPStubs (3.57s)
Fetched https://github.com/ReactiveX/RxSwift.git (3.61s)
Fetched https://github.com/Alamofire/Alamofire.git (3.64s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.36s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.49s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.40s)
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/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.8.1
Building for debugging...
[1/167] Emitting module Alamofire
[2/171] Compiling RxSwift Bag+Rx.swift
[3/171] Compiling RxSwift Bag.swift
[4/171] Compiling RxSwift BehaviorSubject.swift
[5/171] Compiling RxSwift BinaryDisposable.swift
[6/171] Compiling RxSwift AddRef.swift
[7/171] Compiling RxSwift Amb.swift
[8/171] Compiling RxSwift AnonymousDisposable.swift
[9/171] Compiling RxSwift AnonymousObserver.swift
[10/171] Compiling RxSwift AnyObserver.swift
[11/171] Compiling RxSwift SerialDisposable.swift
[12/171] Compiling RxSwift ShareReplayScope.swift
[13/171] Compiling RxSwift Single.swift
[14/171] Compiling RxSwift SingleAssignmentDisposable.swift
[15/171] Compiling RxSwift SingleAsync.swift
[16/171] Compiling RxSwift Sink.swift
[17/171] Compiling RxSwift Skip.swift
[18/171] Compiling RxSwift SkipUntil.swift
[19/171] Compiling RxSwift SkipWhile.swift
[20/171] Compiling RxSwift StartWith.swift
[21/171] Compiling RxSwift SubjectType.swift
[22/171] Compiling RxSwift SubscribeOn.swift
[23/171] Compiling RxSwift SubscriptionDisposable.swift
[24/171] Compiling RxSwift SwiftSupport.swift
[25/171] Compiling RxSwift Switch.swift
[26/171] Compiling RxSwift SwitchIfEmpty.swift
[27/171] Compiling RxSwift SynchronizedDisposeType.swift
[28/171] Compiling RxSwift SynchronizedOnType.swift
[29/188] Compiling RxSwift AsMaybe.swift
[30/188] Compiling RxSwift AsSingle.swift
[31/188] Compiling RxSwift AsyncLock.swift
[32/188] Compiling RxSwift AsyncSubject.swift
[33/188] Compiling RxSwift AtomicInt.swift
[34/189] Compiling Alamofire URLEncodedFormEncoder.swift
[35/189] Compiling Alamofire URLRequest+Alamofire.swift
[36/189] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[37/189] Compiling Alamofire Validation.swift
[38/189] Compiling RxSwift ConnectableObservableType.swift
[39/189] Compiling RxSwift Create.swift
[40/189] Compiling RxSwift CurrentThreadScheduler.swift
[41/189] Compiling RxSwift Date+Dispatch.swift
[42/189] Compiling RxSwift Debounce.swift
[43/189] Compiling RxSwift BooleanDisposable.swift
[44/189] Compiling RxSwift Buffer.swift
[45/189] Compiling RxSwift Cancelable.swift
[46/189] Compiling RxSwift Catch.swift
[47/189] Compiling RxSwift CombineLatest+Collection.swift
[48/189] Compiling RxSwift CompositeDisposable.swift
[49/189] Compiling RxSwift Concat.swift
[50/189] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[51/189] Compiling RxSwift ConcurrentMainScheduler.swift
[52/189] Compiling RxSwift CombineLatest+arity.swift
[53/189] Compiling RxSwift CombineLatest.swift
[54/189] Compiling RxSwift CompactMap.swift
[55/189] Compiling RxSwift Completable+AndThen.swift
[56/189] Compiling RxSwift Completable.swift
[57/190] Emitting module RxSwift
[76/190] Compiling RxSwift DelaySubscription.swift
[96/190] Compiling RxSwift Observable.swift
[97/190] Compiling RxSwift ObservableConvertibleType.swift
[98/190] Compiling RxSwift ObservableType+Extensions.swift
[99/190] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[100/190] Compiling RxSwift ObservableType.swift
[101/190] Compiling RxSwift ObserveOn.swift
[102/190] Compiling RxSwift ObserverBase.swift
[103/190] Compiling RxSwift ObserverType.swift
[104/190] Compiling RxSwift OperationQueueScheduler.swift
[105/190] Compiling RxSwift Optional.swift
[106/190] Compiling RxSwift Platform.Darwin.swift
[107/190] Compiling RxSwift Platform.Linux.swift
[108/190] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[109/190] Compiling RxSwift PrimitiveSequence.swift
[110/190] Compiling RxSwift PriorityQueue.swift
[111/190] Compiling RxSwift Producer.swift
[112/190] Compiling RxSwift PublishSubject.swift
[113/190] Compiling RxSwift Queue.swift
[114/190] Compiling RxSwift Range.swift
[115/190] Compiling RxSwift Dematerialize.swift
[116/190] Compiling RxSwift Deprecated.swift
[117/190] Compiling RxSwift DispatchQueue+Extensions.swift
[118/190] Compiling RxSwift DispatchQueueConfiguration.swift
[119/190] Compiling RxSwift Disposable.swift
[120/190] Compiling RxSwift Disposables.swift
[121/190] Compiling RxSwift DisposeBag.swift
[122/190] Compiling RxSwift DisposeBase.swift
[123/190] Compiling RxSwift DistinctUntilChanged.swift
[124/190] Compiling RxSwift Do.swift
[125/190] Compiling RxSwift ElementAt.swift
[126/190] Compiling RxSwift Empty.swift
[127/190] Compiling RxSwift Enumerated.swift
[128/190] Compiling RxSwift Error.swift
[129/190] Compiling RxSwift Errors.swift
[130/190] Compiling RxSwift Event.swift
[131/190] Compiling RxSwift Filter.swift
[132/190] Compiling RxSwift First.swift
[133/190] Compiling RxSwift Generate.swift
[134/190] Compiling RxSwift Reactive.swift
[135/190] Compiling RxSwift RecursiveLock.swift
[136/190] Compiling RxSwift RecursiveScheduler.swift
[137/190] Compiling RxSwift Reduce.swift
[138/190] Compiling RxSwift RefCountDisposable.swift
[139/190] Compiling RxSwift Repeat.swift
[140/190] Compiling RxSwift ReplaySubject.swift
[141/190] Compiling RxSwift RetryWhen.swift
[142/190] Compiling RxSwift Rx.swift
[143/190] Compiling RxSwift RxMutableBox.swift
[144/190] Compiling RxSwift Sample.swift
[145/190] Compiling RxSwift Scan.swift
[146/190] Compiling RxSwift ScheduledDisposable.swift
[147/190] Compiling RxSwift ScheduledItem.swift
[148/190] Compiling RxSwift ScheduledItemType.swift
[149/190] Compiling RxSwift SchedulerServices+Emulation.swift
[150/190] Compiling RxSwift SchedulerType.swift
[151/190] Compiling RxSwift Sequence.swift
[152/190] Compiling RxSwift SerialDispatchQueueScheduler.swift
[153/190] Compiling RxSwift GroupBy.swift
[154/190] Compiling RxSwift GroupedObservable.swift
[155/190] Compiling RxSwift HistoricalScheduler.swift
[156/190] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[157/190] Compiling RxSwift ImmediateSchedulerType.swift
[158/190] Compiling RxSwift InfiniteSequence.swift
[159/190] Compiling RxSwift InvocableScheduledItem.swift
[160/190] Compiling RxSwift InvocableType.swift
[161/190] Compiling RxSwift Just.swift
[162/190] Compiling RxSwift Lock.swift
[163/190] Compiling RxSwift LockOwnerType.swift
[164/190] Compiling RxSwift MainScheduler.swift
[165/190] Compiling RxSwift Map.swift
[166/190] Compiling RxSwift Materialize.swift
[167/190] Compiling RxSwift Maybe.swift
[168/190] Compiling RxSwift Merge.swift
[169/190] Compiling RxSwift Multicast.swift
[170/190] Compiling RxSwift Never.swift
[171/190] Compiling RxSwift NopDisposable.swift
[174/206] 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
                 ^
[175/206] 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
                 ^
[176/208] Compiling Leash ExecutionInterceptor.swift
[177/208] Compiling Leash FailureInterceptor.swift
[178/208] Compiling Leash Error.swift
[179/208] Compiling Leash CompletionInterceptor.swift
[180/208] Compiling Leash Client.swift
[181/208] Compiling Leash Endpoint.swift
[182/208] Compiling Leash QueryEncodable.swift
[183/208] Compiling Leash Response.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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(
             ^
[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 Interceptor.swift
[188/208] Compiling Leash InterceptorChain.swift
[189/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
                   ^
[190/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
                   ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/20] 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
                 ^
[2/20] Compiling Leash Manager.swift
[3/20] 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/24] Compiling Leash InterceptorChain.swift
[5/24] Compiling Leash Client.swift
[6/24] 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(
             ^
[7/24] Compiling RxSwift WithLatestFrom.swift
[8/24] Compiling RxSwift Zip+Collection.swift
[9/24] Compiling Leash InterceptorsExecutor.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1