The Swift Package Index logo.Swift Package Index

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/happn-app/URLRequestOperation.git
Reference: 1.1.11
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/happn-app/URLRequestOperation
 * tag               1.1.11     -> FETCH_HEAD
HEAD is now at cafea35 Merge pull request #7 from happn-app/remove_async_operation_result
Cloned https://github.com/happn-app/URLRequestOperation.git
Revision (git rev-parse @):
cafea350e06f73dfd82f20f926088fb62aed0eec
SUCCESS checkout https://github.com/happn-app/URLRequestOperation.git at 1.1.11
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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.8-latest swift build 2>&1
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
[179/573] Fetching recursivesyncdispatch, retryingoperation
Fetching https://github.com/happn-app/SemiSingleton.git
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git (0.23s)
[1/3144] Fetching swift-log
Fetched https://github.com/happn-app/RetryingOperation.git (0.34s)
Fetched https://github.com/apple/swift-log.git (0.35s)
[1/421] Fetching semisingleton
Fetched https://github.com/happn-app/SemiSingleton.git (0.27s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.31s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.7 (0.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.71s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.31s)
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/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/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
Building for debugging...
[1/13] Emitting module Logging
[2/13] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[3/13] Emitting module RecursiveSyncDispatch
[4/13] Compiling Logging LogHandler.swift
[5/13] Compiling Logging Locks.swift
[6/13] Compiling Logging Logging.swift
[10/17] Wrapping AST for Logging for debugging
[11/17] Wrapping AST for RecursiveSyncDispatch for debugging
[13/26] Compiling RetryingOperation RetryingOperationConfig.swift
[14/26] Emitting module SemiSingleton
[15/26] Compiling RetryingOperation WrappedRetryingOperation.swift
[16/26] Compiling SemiSingleton SemiSingletonConfig.swift
[17/26] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[18/26] Compiling SemiSingleton SemiSingletonStore.swift
[19/26] Compiling RetryingOperation RetryHelper.swift
[20/26] Emitting module RetryingOperation
[21/26] Compiling RetryingOperation RetryingOperation.swift
[25/30] Wrapping AST for RetryingOperation for debugging
[26/30] Wrapping AST for SemiSingleton for debugging
[28/38] Compiling URLRequestOperation URLRequestOperationConfig.swift
[29/39] Compiling URLRequestOperation LinuxWeakToWeakMapTable.swift
[30/39] 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? {
                                                ^
[31/39] Compiling URLRequestOperation URLRequestOperationSessionDelegate.swift
[32/39] 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? {
                                                ^
[33/39] Compiling URLRequestOperation ReachabilitySubscriber.swift
[34/39] Compiling URLRequestOperation ReachabilityObserver.swift
[35/39] Compiling URLRequestOperation SockaddrWrapper.swift
[36/39] Compiling URLRequestOperation URLRequestOperation.swift
[38/41] Wrapping AST for URLRequestOperation for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/43] 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)
                                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[41/43] 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...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1700824290, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1700824290, nanoseconds: 813075000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ManualTest.build/master.priors'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] 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)
                                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/4] 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

Build Machine: Linux 1