The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectCURL with Swift 5.7 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-curl.git
Reference: 5.0.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-curl
 * tag               5.0.0      -> FETCH_HEAD
HEAD is now at 0593841 Updated swift tools version. Updated PerfectLib version
Cloned https://github.com/perfectlysoft/perfect-curl.git into spi-builder-workspace
0593841a172433e5c9841791a87f9fe56d8c0ce4
SUCCESS checkout https://github.com/perfectlysoft/perfect-curl.git at 5.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.32s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (0.32s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (0.38s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.36s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.01s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.38s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 4.0.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-libcurl.git
Working copy of https://github.com/PerfectlySoft/Perfect-libcurl.git resolved at 2.1.0
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: dependency 'perfect-libcurl' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libcurl using your system-packager:
    brew install curl
Building for debugging...
[1/13] Compiling PerfectLib PerfectServer.swift
[2/14] Compiling PerfectLib Log.swift
[3/14] Compiling PerfectLib SysProcess.swift
[4/14] Compiling PerfectLib PerfectError.swift
[5/14] Compiling PerfectLib JSONConvertible.swift
[6/14] Emitting module PerfectLib
[7/14] Compiling PerfectLib File.swift
[8/14] Compiling PerfectLib Bytes.swift
[9/14] Compiling PerfectLib Dir.swift
[10/14] Compiling PerfectThread Threading.swift
[11/14] Emitting module PerfectThread
[12/14] Compiling PerfectThread Promise.swift
[13/14] Compiling PerfectThread ThreadQueue.swift
[14/14] Compiling PerfectLib Utilities.swift
[15/22] Compiling PerfectCURL HTTPHeaders.swift
[16/22] Compiling PerfectCURL CURLResponse.swift
[17/22] Compiling PerfectCURL CURLResponseInfos.swift
[18/22] Emitting module PerfectCURL
[19/22] Compiling PerfectCURL CURLRequest.swift
[20/22] Compiling PerfectCURL HTTPMethod.swift
[21/22] Compiling PerfectCURL cURL.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/cURL.swift:202:4: warning: using '_' to ignore the result of a Void-returning function is redundant
                        _ = accumulator.header.append(contentsOf: h)
                        ^~~~
                        
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/cURL.swift:205:4: warning: using '_' to ignore the result of a Void-returning function is redundant
                        _ = accumulator.body.append(contentsOf: b)
                        ^~~~
[22/22] Compiling PerfectCURL CURLRequestOptions.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/CURLRequestOptions.swift:126:19: error: cannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope
                        curl.setOption(CURLOPT_FTP_RESPONSE_TIMEOUT, int: optInt)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.32s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (0.32s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (0.38s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.36s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.01s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.38s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 4.0.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-libcurl.git
Working copy of https://github.com/PerfectlySoft/Perfect-libcurl.git resolved at 2.1.0
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: dependency 'perfect-libcurl' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libcurl using your system-packager:
    brew install curl
"
Output: "Building for debugging...
[1/13] Compiling PerfectLib PerfectServer.swift
[2/14] Compiling PerfectLib Log.swift
[3/14] Compiling PerfectLib SysProcess.swift
[4/14] Compiling PerfectLib PerfectError.swift
[5/14] Compiling PerfectLib JSONConvertible.swift
[6/14] Emitting module PerfectLib
[7/14] Compiling PerfectLib File.swift
[8/14] Compiling PerfectLib Bytes.swift
[9/14] Compiling PerfectLib Dir.swift
[10/14] Compiling PerfectThread Threading.swift
[11/14] Emitting module PerfectThread
[12/14] Compiling PerfectThread Promise.swift
[13/14] Compiling PerfectThread ThreadQueue.swift
[14/14] Compiling PerfectLib Utilities.swift
[15/22] Compiling PerfectCURL HTTPHeaders.swift
[16/22] Compiling PerfectCURL CURLResponse.swift
[17/22] Compiling PerfectCURL CURLResponseInfos.swift
[18/22] Emitting module PerfectCURL
[19/22] Compiling PerfectCURL CURLRequest.swift
[20/22] Compiling PerfectCURL HTTPMethod.swift
[21/22] Compiling PerfectCURL cURL.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/cURL.swift:202:4: warning: using '_' to ignore the result of a Void-returning function is redundant
                        _ = accumulator.header.append(contentsOf: h)
                        ^~~~
                        
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/cURL.swift:205:4: warning: using '_' to ignore the result of a Void-returning function is redundant
                        _ = accumulator.body.append(contentsOf: b)
                        ^~~~
                        
[22/22] Compiling PerfectCURL CURLRequestOptions.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/CURLRequestOptions.swift:126:19: error: cannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope
                        curl.setOption(CURLOPT_FTP_RESPONSE_TIMEOUT, int: optInt)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: dependency 'perfect-libcurl' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libcurl using your system-packager:
    brew install curl
[0/1] Planning build
Building for debugging...
[1/2] Compiling PerfectCURL CURLRequestOptions.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/CURLRequestOptions.swift:126:19: error: cannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope
                        curl.setOption(CURLOPT_FTP_RESPONSE_TIMEOUT, int: optInt)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/2] Emitting module PerfectCURL
ShellOut encountered an error
Status code: 1
Message: "warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: dependency 'perfect-libcurl' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libcurl using your system-packager:
    brew install curl
"
Output: "[0/1] Planning build
Building for debugging...
[1/2] Compiling PerfectCURL CURLRequestOptions.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectCURL/CURLRequestOptions.swift:126:19: error: cannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope
                        curl.setOption(CURLOPT_FTP_RESPONSE_TIMEOUT, int: optInt)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/2] Emitting module PerfectCURL"
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5