Build Information
Failed to build PerfectCURL with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-curl.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-curl
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0593841 Updated swift tools version. Updated PerfectLib version
Cloned https://github.com/perfectlysoft/perfect-curl.git
Revision (git rev-parse @):
0593841a172433e5c9841791a87f9fe56d8c0ce4
SUCCESS checkout https://github.com/perfectlysoft/perfect-curl.git at master
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (0.22s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.22s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (0.27s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.42s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.02s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.01s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "perfect-curl",
"name": "PerfectCURL",
"url": "https://github.com/perfectlysoft/perfect-curl.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-curl",
"dependencies": [
{
"identity": "perfect-libcurl",
"name": "cURL",
"url": "https://github.com/PerfectlySoft/Perfect-libcurl.git",
"version": "2.1.0",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libcurl",
"dependencies": [
]
},
{
"identity": "perfectlib",
"name": "PerfectLib",
"url": "https://github.com/PerfectlySoft/PerfectLib.git",
"version": "4.0.1",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PerfectLib",
"dependencies": [
]
},
{
"identity": "perfect-thread",
"name": "PerfectThread",
"url": "https://github.com/PerfectlySoft/Perfect-Thread.git",
"version": "3.0.7",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-Thread",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-curl.git
[1/504] Fetching perfect-curl
Fetched https://github.com/perfectlysoft/perfect-curl.git (0.27s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (0.24s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.24s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (0.29s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.02s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.03s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.02s)
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
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-curl.git
Working copy of https://github.com/perfectlysoft/perfect-curl.git resolved at master
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-curl' is not used by any target
Found 3 product dependencies
- cURL
- PerfectLib
- PerfectThread
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/13] Compiling PerfectLib SysProcess.swift
[2/14] Compiling PerfectLib JSONConvertible.swift
[3/14] Compiling PerfectLib Log.swift
[4/14] Compiling PerfectLib PerfectError.swift
[5/14] Compiling PerfectLib File.swift
[6/14] Compiling PerfectLib PerfectServer.swift
[7/14] Emitting module PerfectLib
[8/14] Compiling PerfectLib Bytes.swift
[9/14] Compiling PerfectLib Dir.swift
[10/14] Emitting module PerfectThread
[11/14] Compiling PerfectThread Promise.swift
[12/14] Compiling PerfectThread ThreadQueue.swift
[13/14] Compiling PerfectThread Threading.swift
[14/14] Compiling PerfectLib Utilities.swift
[15/22] Compiling PerfectCURL CURLRequest.swift
[16/22] Emitting module PerfectCURL
[17/22] Compiling PerfectCURL HTTPMethod.swift
[18/22] Compiling PerfectCURL CURLResponse.swift
[19/22] Compiling PerfectCURL cURL.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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)
^~~~
[20/22] Compiling PerfectCURL HTTPHeaders.swift
[21/22] Compiling PerfectCURL CURLResponseInfos.swift
[22/22] Compiling PerfectCURL CURLRequestOptions.swift
/Users/builder/builds/TDmZkXJm/2/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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'spi-builder-workspace': 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] Emitting module PerfectCURL
[2/2] Compiling PerfectCURL CURLRequestOptions.swift
/Users/builder/builds/TDmZkXJm/2/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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'spi-builder-workspace': 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
BUILD FAILURE 5.9 macosSpm