The Swift Package Index logo.Swift Package Index

Build Information

Failed to build URLRequestOperation with Swift 5.7 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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/happn-app/SemiSingleton.git
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
Fetching https://github.com/happn-app/RetryingOperation.git
[1/178] Fetching recursivesyncdispatch
[179/599] Fetching recursivesyncdispatch, semisingleton
[600/994] Fetching recursivesyncdispatch, semisingleton, retryingoperation
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git (0.38s)
Fetched https://github.com/happn-app/RetryingOperation.git (0.38s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/happn-app/SemiSingleton.git (0.39s)
[1/3144] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.34s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.32s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.7 (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.35s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.38s)
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/13] Compiling Logging Locks.swift
[2/13] Compiling Logging LogHandler.swift
[3/13] Emitting module Logging
[4/13] Compiling Logging Logging.swift
[6/15] Wrapping AST for Logging for debugging
[8/20] Emitting module RecursiveSyncDispatch
[9/20] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[11/22] Wrapping AST for RecursiveSyncDispatch for debugging
[13/26] Compiling RetryingOperation RetryHelper.swift
[14/26] Emitting module RetryingOperation
[15/26] Compiling RetryingOperation RetryingOperation.swift
[16/26] Compiling RetryingOperation RetryingOperationConfig.swift
[17/26] Compiling RetryingOperation WrappedRetryingOperation.swift
[20/28] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[21/28] Compiling SemiSingleton SemiSingletonStore.swift
[22/28] Emitting module SemiSingleton
[23/28] Compiling SemiSingleton SemiSingletonConfig.swift
[25/30] Wrapping AST for SemiSingleton for debugging
[26/30] Wrapping AST for RetryingOperation for debugging
[28/38] Compiling URLRequestOperation ReachabilityObserver.swift
[29/39] Compiling URLRequestOperation URLRequestOperationConfig.swift
[30/39] Compiling URLRequestOperation ReachabilitySubscriber.swift
[31/39] Compiling URLRequestOperation URLRequestOperationSessionDelegate.swift
[32/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? {
                                                ^
[33/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? {
                                                ^
[34/39] Compiling URLRequestOperation LinuxWeakToWeakMapTable.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)
              ^~~~~~~~~~
[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)
              ^~~~~~~~~~
[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)
              ^~~~~~~~~~
[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)
              ^~~~~~~~~~
BUILD FAILURE 5.7 linux

Build Machine: Linux 1