Build Information
Failed to build URLRequestOperation with Swift 5.8 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/URLRequestOperation.git
Reference: 1.1.10
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/Frizlab/URLRequestOperation
* tag 1.1.10 -> FETCH_HEAD
HEAD is now at 2b08958 Update dependencies paths
Cloned https://github.com/Frizlab/URLRequestOperation.git
Revision (git rev-parse @):
2b08958a51c64e3a10693cceeba0affadfbf8607
SUCCESS checkout https://github.com/Frizlab/URLRequestOperation.git at 1.1.10
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
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.8-latest swift build 2>&1
Fetching https://github.com/happn-app/SemiSingleton.git
Fetching https://github.com/happn-app/AsyncOperationResult.git
Fetching https://github.com/happn-app/RetryingOperation.git
[1/421] Fetching semisingleton
[422/816] Fetching semisingleton, retryingoperation
[486/985] Fetching semisingleton, retryingoperation, asyncoperationresult
Fetched https://github.com/happn-app/AsyncOperationResult.git (0.30s)
Fetched https://github.com/happn-app/RetryingOperation.git (0.30s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
Fetched https://github.com/happn-app/SemiSingleton.git (0.30s)
[1/178] Fetching recursivesyncdispatch
[179/3322] Fetching recursivesyncdispatch, swift-log
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git (0.39s)
Fetched https://github.com/apple/swift-log.git (0.39s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.35s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.7 (0.36s)
Computing version for https://github.com/happn-app/AsyncOperationResult.git
Computed https://github.com/happn-app/AsyncOperationResult.git at 1.0.7 (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.69s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.77s)
Creating working copy for https://github.com/happn-app/RecursiveSyncDispatch.git
Working copy of https://github.com/happn-app/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/happn-app/RetryingOperation.git
Working copy of https://github.com/happn-app/RetryingOperation.git resolved at 1.1.7
Creating working copy for https://github.com/happn-app/AsyncOperationResult.git
Working copy of https://github.com/happn-app/AsyncOperationResult.git resolved at 1.0.7
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.0.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.2
Building for debugging...
[1/16] Emitting module RecursiveSyncDispatch
[2/16] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[3/16] Emitting module AsyncOperationResult
[4/16] Compiling AsyncOperationResult AsyncOperationResult.swift
[8/20] Wrapping AST for RecursiveSyncDispatch for debugging
[10/20] Emitting module Logging
[11/20] Compiling Logging Logging.swift
[12/20] Compiling Logging LogHandler.swift
[13/20] Compiling Logging Locks.swift
[13/20] Wrapping AST for AsyncOperationResult for debugging
[16/22] Wrapping AST for Logging for debugging
[18/31] Compiling SemiSingleton SemiSingletonConfig.swift
[19/31] Emitting module SemiSingleton
[20/31] Compiling RetryingOperation WrappedRetryingOperation.swift
[21/31] Compiling RetryingOperation RetryingOperationConfig.swift
[22/31] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[23/31] Compiling SemiSingleton SemiSingletonStore.swift
[25/33] Compiling RetryingOperation RetryHelper.swift
[26/33] Emitting module RetryingOperation
[27/33] Compiling RetryingOperation RetryingOperation.swift
[30/35] Wrapping AST for SemiSingleton for debugging
[31/35] Wrapping AST for RetryingOperation for debugging
[33/43] Compiling URLRequestOperation ReachabilityObserver.swift
[34/44] Compiling URLRequestOperation URLRequestOperationSessionDelegate.swift
[35/44] Compiling URLRequestOperation GenericURLSessionDelegate.swift
/host/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:59:42: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
public func taskDelegateForTask(_ task: URLSessionStreamTask) -> URLSessionStreamDelegate? {
^
[36/44] Emitting module URLRequestOperation
/host/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:59:42: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
public func taskDelegateForTask(_ task: URLSessionStreamTask) -> URLSessionStreamDelegate? {
^
[37/44] Compiling URLRequestOperation LinuxWeakToWeakMapTable.swift
[38/44] Compiling URLRequestOperation URLRequestOperationConfig.swift
[39/44] Compiling URLRequestOperation SockaddrWrapper.swift
[40/44] Compiling URLRequestOperation URLRequestOperation.swift
[41/44] Compiling URLRequestOperation ReachabilitySubscriber.swift
[43/46] Wrapping AST for URLRequestOperation for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/48] Emitting module ManualTest
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:15: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:83: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[46/48] Compiling ManualTest main.swift
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:15: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:83: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/1] Planning build
Building for debugging...
[1/11] Emitting module AsyncOperationResult
[2/12] Emitting module RecursiveSyncDispatch
[3/13] Emitting module Logging
[9/15] Wrapping AST for Logging for debugging
[11/17] Emitting module SemiSingleton
[12/18] Emitting module RetryingOperation
[16/20] Wrapping AST for SemiSingleton for debugging
[18/21] Emitting module URLRequestOperation
/host/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:59:42: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
public func taskDelegateForTask(_ task: URLSessionStreamTask) -> URLSessionStreamDelegate? {
^
[20/23] Wrapping AST for URLRequestOperation for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/25] Emitting module ManualTest
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:15: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:83: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[23/25] Compiling ManualTest main.swift
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:15: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:83: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILD FAILURE 5.8 linux