The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build URLRequestOperation with Swift 5.9 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.9
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.9-latest swift build 2>&1
Fetching https://github.com/happn-app/AsyncOperationResult.git
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
Fetching https://github.com/happn-app/RetryingOperation.git
[1/169] Fetching asyncoperationresult
[79/564] Fetching asyncoperationresult, retryingoperation
[565/742] Fetching asyncoperationresult, retryingoperation, recursivesyncdispatch
Fetched https://github.com/happn-app/AsyncOperationResult.git (0.28s)
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git (0.28s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/happn-app/SemiSingleton.git
Fetched https://github.com/happn-app/RetryingOperation.git (0.28s)
[1/421] Fetching semisingleton
[422/3565] Fetching semisingleton, swift-log
Fetched https://github.com/happn-app/SemiSingleton.git (0.38s)
Fetched https://github.com/apple/swift-log.git (0.38s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.38s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.7 (0.39s)
Computing version for https://github.com/happn-app/AsyncOperationResult.git
Computed https://github.com/happn-app/AsyncOperationResult.git at 1.0.7 (0.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.45s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.50s)
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/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/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
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/16] Emitting module Logging
[2/16] Compiling Logging Locks.swift
[3/16] Emitting module RecursiveSyncDispatch
[4/16] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[5/16] Emitting module AsyncOperationResult
[6/16] Compiling AsyncOperationResult AsyncOperationResult.swift
[10/20] Wrapping AST for AsyncOperationResult for debugging
[11/20] Wrapping AST for RecursiveSyncDispatch for debugging
[13/20] Compiling Logging Logging.swift
[14/20] Compiling Logging LogHandler.swift
[16/22] Wrapping AST for Logging for debugging
[18/31] Compiling RetryingOperation RetryingOperationConfig.swift
[19/31] Emitting module RetryingOperation
[20/31] Compiling RetryingOperation WrappedRetryingOperation.swift
[21/31] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[22/31] Compiling SemiSingleton SemiSingletonConfig.swift
[23/31] Compiling SemiSingleton SemiSingletonStore.swift
[24/31] Emitting module SemiSingleton
[25/32] Compiling RetryingOperation RetryHelper.swift
[26/32] Compiling RetryingOperation RetryingOperation.swift
[30/35] Wrapping AST for SemiSingleton for debugging
[31/35] Wrapping AST for RetryingOperation for debugging
[33/43] Compiling URLRequestOperation URLRequestOperationConfig.swift
[34/44] Compiling URLRequestOperation LinuxWeakToWeakMapTable.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 URLRequestOperationSessionDelegate.swift
[38/44] Compiling URLRequestOperation ReachabilityObserver.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
[45/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)
                                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/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)
                                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
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)
                                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux