Build Information
Failed to build URLRequestOperation with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/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.10
Building package at path: $workDir
https://github.com/Frizlab/URLRequestOperation.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/happn-app/SemiSingleton.git
Fetching https://github.com/happn-app/AsyncOperationResult.git
[1/178] Fetching recursivesyncdispatch
[179/573] Fetching recursivesyncdispatch, retryingoperation
[574/994] Fetching recursivesyncdispatch, retryingoperation, semisingleton
[995/1163] Fetching recursivesyncdispatch, retryingoperation, semisingleton, asyncoperationresult
[1164/4332] Fetching recursivesyncdispatch, retryingoperation, semisingleton, asyncoperationresult, swift-log
Fetched https://github.com/happn-app/AsyncOperationResult.git from cache (0.35s)
Fetched https://github.com/happn-app/SemiSingleton.git from cache (0.35s)
Fetched https://github.com/happn-app/RetryingOperation.git from cache (0.35s)
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.35s)
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.39s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.7 (0.40s)
Computing version for https://github.com/happn-app/AsyncOperationResult.git
Computed https://github.com/happn-app/AsyncOperationResult.git at 1.0.7 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.39s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.39s)
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
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/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.0.5
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
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/25] Compiling Logging LogHandler.swift
[10/25] Emitting module RecursiveSyncDispatch
[11/25] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[12/25] Compiling Logging Locks.swift
[13/26] Wrapping AST for RecursiveSyncDispatch for debugging
[15/26] Compiling AsyncOperationResult AsyncOperationResult.swift
[16/26] Emitting module AsyncOperationResult
[17/26] Emitting module Logging
[18/26] Compiling Logging Logging.swift
[20/28] Wrapping AST for Logging for debugging
[21/28] Wrapping AST for AsyncOperationResult for debugging
[23/37] Compiling RetryingOperation RetryingOperationConfig.swift
[24/37] Compiling RetryingOperation WrappedRetryingOperation.swift
[25/37] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[26/37] Emitting module SemiSingleton
[27/37] Compiling SemiSingleton SemiSingletonConfig.swift
[28/37] Compiling SemiSingleton SemiSingletonStore.swift
[29/38] Compiling RetryingOperation RetryHelper.swift
[30/38] Emitting module RetryingOperation
[31/38] Compiling RetryingOperation RetryingOperation.swift
[33/39] Wrapping AST for SemiSingleton for debugging
[34/39] Wrapping AST for RetryingOperation for debugging
[36/47] Compiling URLRequestOperation ReachabilitySubscriber.swift
[37/48] Compiling URLRequestOperation URLRequestOperationConfig.swift
[38/48] Compiling URLRequestOperation ReachabilityObserver.swift
[39/48] Compiling URLRequestOperation LinuxWeakToWeakMapTable.swift
[40/48] 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? {
^
[41/48] Compiling URLRequestOperation URLRequestOperationSessionDelegate.swift
[42/48] 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? {
^
[43/48] Compiling URLRequestOperation URLRequestOperation.swift
[44/48] Compiling URLRequestOperation SockaddrWrapper.swift
[45/49] Wrapping AST for URLRequestOperation for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/51] 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)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[48/51] 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)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] 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)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/6] 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)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux