The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Leash with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-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/7642] Fetching ohhttpstubs
[7643/58474] Fetching ohhttpstubs, rxswift
[25943/86190] Fetching ohhttpstubs, rxswift, alamofire
Fetched https://github.com/AliSoftware/OHHTTPStubs (3.89s)
Fetched https://github.com/ReactiveX/RxSwift.git (3.95s)
Fetched https://github.com/Alamofire/Alamofire.git (3.97s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.39s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.53s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.46s)
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
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 RxSwift
[2/185] Compiling RxSwift Dematerialize.swift
[3/185] Compiling RxSwift Deprecated.swift
[4/185] Compiling RxSwift DispatchQueue+Extensions.swift
[5/185] Compiling RxSwift DispatchQueueConfiguration.swift
[6/185] Compiling RxSwift Disposable.swift
[7/185] Compiling RxSwift Create.swift
[8/185] Compiling RxSwift CurrentThreadScheduler.swift
[9/185] Compiling RxSwift Date+Dispatch.swift
[10/185] Compiling RxSwift Debounce.swift
[11/185] Compiling RxSwift Debug.swift
[17/189] Compiling RxSwift Disposables.swift
[18/189] Compiling RxSwift DisposeBag.swift
[19/189] Compiling RxSwift DisposeBase.swift
[20/189] Compiling RxSwift DistinctUntilChanged.swift
[21/189] Compiling RxSwift Do.swift
[22/189] Compiling RxSwift ElementAt.swift
[23/189] Compiling RxSwift Empty.swift
[24/189] Compiling RxSwift Enumerated.swift
[25/189] Compiling RxSwift Error.swift
[26/189] Compiling Alamofire URLEncodedFormEncoder.swift
[27/189] Compiling Alamofire URLRequest+Alamofire.swift
[28/189] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[29/189] Compiling Alamofire Validation.swift
[30/189] Compiling RxSwift Generate.swift
[31/189] Compiling RxSwift DefaultIfEmpty.swift
[32/189] Compiling RxSwift Deferred.swift
[33/189] Compiling RxSwift Delay.swift
[34/189] Compiling RxSwift DelaySubscription.swift
[35/189] Compiling RxSwift CombineLatest+arity.swift
[36/189] Compiling RxSwift CombineLatest.swift
[37/189] Compiling RxSwift CompactMap.swift
[38/189] Compiling RxSwift Completable+AndThen.swift
[39/189] Compiling RxSwift Completable.swift
[40/189] Emitting module Alamofire
[41/189] Compiling RxSwift CompositeDisposable.swift
[42/189] Compiling RxSwift Concat.swift
[43/189] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[44/189] Compiling RxSwift ConcurrentMainScheduler.swift
[45/189] Compiling RxSwift ConnectableObservableType.swift
[46/189] Compiling RxSwift GroupBy.swift
[47/189] Compiling RxSwift GroupedObservable.swift
[48/189] Compiling RxSwift HistoricalScheduler.swift
[49/189] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[50/189] Compiling RxSwift ImmediateSchedulerType.swift
[51/189] Compiling RxSwift InfiniteSequence.swift
[52/189] Compiling RxSwift InvocableScheduledItem.swift
[53/189] Compiling RxSwift InvocableType.swift
[54/189] Compiling RxSwift Just.swift
[55/189] Compiling RxSwift Lock.swift
[56/189] Compiling RxSwift LockOwnerType.swift
[57/189] Compiling RxSwift MainScheduler.swift
[58/189] Compiling RxSwift Map.swift
[59/189] Compiling RxSwift Materialize.swift
[60/189] Compiling RxSwift Maybe.swift
[61/189] Compiling RxSwift Merge.swift
[62/189] Compiling RxSwift Multicast.swift
[63/189] Compiling RxSwift Never.swift
[64/189] Compiling RxSwift NopDisposable.swift
[65/189] Compiling RxSwift Reactive.swift
[66/189] Compiling RxSwift RecursiveLock.swift
[67/189] Compiling RxSwift RecursiveScheduler.swift
[68/189] Compiling RxSwift Reduce.swift
[69/189] Compiling RxSwift RefCountDisposable.swift
[70/189] Compiling RxSwift Repeat.swift
[71/189] Compiling RxSwift ReplaySubject.swift
[72/189] Compiling RxSwift RetryWhen.swift
[73/189] Compiling RxSwift Rx.swift
[74/189] Compiling RxSwift RxMutableBox.swift
[75/189] Compiling RxSwift Sample.swift
[76/189] Compiling RxSwift Scan.swift
[77/189] Compiling RxSwift ScheduledDisposable.swift
[78/189] Compiling RxSwift ScheduledItem.swift
[79/189] Compiling RxSwift ScheduledItemType.swift
[80/189] Compiling RxSwift SchedulerServices+Emulation.swift
[81/189] Compiling RxSwift SchedulerType.swift
[82/189] Compiling RxSwift Sequence.swift
[83/189] Compiling RxSwift SerialDispatchQueueScheduler.swift
[84/189] Compiling RxSwift SerialDisposable.swift
[85/189] Compiling RxSwift ShareReplayScope.swift
[86/189] Compiling RxSwift Single.swift
[87/189] Compiling RxSwift SingleAssignmentDisposable.swift
[88/189] Compiling RxSwift SingleAsync.swift
[89/189] Compiling RxSwift Sink.swift
[90/189] Compiling RxSwift Skip.swift
[91/189] Compiling RxSwift SkipUntil.swift
[92/189] Compiling RxSwift SkipWhile.swift
[93/189] Compiling RxSwift StartWith.swift
[94/189] Compiling RxSwift SubjectType.swift
[95/189] Compiling RxSwift SubscribeOn.swift
[96/189] Compiling RxSwift SubscriptionDisposable.swift
[97/189] Compiling RxSwift SwiftSupport.swift
[98/189] Compiling RxSwift Switch.swift
[99/189] Compiling RxSwift SwitchIfEmpty.swift
[100/189] Compiling RxSwift SynchronizedDisposeType.swift
[101/189] Compiling RxSwift SynchronizedOnType.swift
[102/189] Compiling RxSwift AddRef.swift
[103/189] Compiling RxSwift Amb.swift
[104/189] Compiling RxSwift AnonymousDisposable.swift
[105/189] Compiling RxSwift AnonymousObserver.swift
[106/189] Compiling RxSwift AnyObserver.swift
[107/189] Compiling RxSwift AsMaybe.swift
[108/189] Compiling RxSwift AsSingle.swift
[109/189] Compiling RxSwift AsyncLock.swift
[110/189] Compiling RxSwift AsyncSubject.swift
[111/189] Compiling RxSwift AtomicInt.swift
[112/189] Compiling RxSwift Bag+Rx.swift
[113/189] Compiling RxSwift Bag.swift
[114/189] Compiling RxSwift BehaviorSubject.swift
[115/189] Compiling RxSwift BinaryDisposable.swift
[116/189] Compiling RxSwift BooleanDisposable.swift
[117/189] Compiling RxSwift Buffer.swift
[118/189] Compiling RxSwift Cancelable.swift
[119/189] Compiling RxSwift Catch.swift
[120/189] Compiling RxSwift CombineLatest+Collection.swift
[121/189] Compiling RxSwift Observable.swift
[122/189] Compiling RxSwift ObservableConvertibleType.swift
[123/189] Compiling RxSwift ObservableType+Extensions.swift
[124/189] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[125/189] Compiling RxSwift ObservableType.swift
[126/189] Compiling RxSwift ObserveOn.swift
[127/189] Compiling RxSwift ObserverBase.swift
[128/189] Compiling RxSwift ObserverType.swift
[129/189] Compiling RxSwift OperationQueueScheduler.swift
[130/189] Compiling RxSwift Optional.swift
[131/189] Compiling RxSwift Platform.Darwin.swift
[132/189] Compiling RxSwift Platform.Linux.swift
[133/189] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[134/189] Compiling RxSwift PrimitiveSequence.swift
[135/189] Compiling RxSwift PriorityQueue.swift
[136/189] Compiling RxSwift Producer.swift
[137/189] Compiling RxSwift PublishSubject.swift
[138/189] Compiling RxSwift Queue.swift
[139/189] Compiling RxSwift Range.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[174/206] Emitting module Leash
/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/208] Compiling Leash Error.swift
[176/208] Compiling Leash CompletionInterceptor.swift
[177/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
                 ^
[178/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
                 ^
[179/208] Compiling Leash Interceptor.swift
[180/208] Compiling Leash InterceptorChain.swift
[181/208] Compiling Leash QueryEncodable.swift
[182/208] Compiling Leash Response.swift
[183/208] Compiling Leash Client.swift
[184/208] Compiling Leash Endpoint.swift
[185/208] Compiling Leash InterceptorsExecutor.swift
[186/208] Compiling Leash SerializationInterceptor.swift
[187/208] Compiling Leash ExecutionInterceptor.swift
[188/208] Compiling Leash FailureInterceptor.swift
[189/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(
             ^
[190/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(
             ^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/20] Compiling Leash Manager.swift
[2/20] Emitting module Leash
/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/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/23] Compiling RxSwift WithLatestFrom.swift
[5/23] Compiling RxSwift Zip+Collection.swift
[6/25] 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/25] Compiling Leash InterceptorsExecutor.swift
[8/25] Compiling Leash Client.swift
[9/25] Compiling RxSwift VirtualTimeScheduler.swift
[10/25] Compiling RxSwift Window.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 2