The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectCURL, reference master (059384), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 23:32:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-curl.git
Reference: master
Initialized empty Git repository in /Users/admin/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-libcurl.git
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/77] Fetching perfect-libcurl
[48/456] Fetching perfect-libcurl, perfect-thread
[223/11240] Fetching perfect-libcurl, perfect-thread, perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (3.93s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git from cache (3.93s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (3.94s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (4.75s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (2.62s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.66s)
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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "perfect-curl",
      "name": "PerfectCURL",
      "url": "https://github.com/perfectlysoft/perfect-curl.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-curl",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "perfect-libcurl",
          "name": "cURL",
          "url": "https://github.com/PerfectlySoft/Perfect-libcurl.git",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libcurl",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "perfectlib",
          "name": "PerfectLib",
          "url": "https://github.com/PerfectlySoft/PerfectLib.git",
          "version": "4.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PerfectLib",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "perfect-thread",
          "name": "PerfectThread",
          "url": "https://github.com/PerfectlySoft/Perfect-Thread.git",
          "version": "3.0.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-Thread",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-curl.git
[1/504] Fetching perfect-curl
Fetched https://github.com/perfectlysoft/perfect-curl.git from cache (0.66s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.48s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git from cache (0.48s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.48s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.55s)
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.03s)
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/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-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/perfect-curl.git
Working copy of https://github.com/perfectlysoft/perfect-curl.git resolved at master (0593841)
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:             6.3
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-curl.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
[5/18] Compiling PerfectThread Threading.swift
[6/18] Compiling PerfectThread ThreadQueue.swift
[7/18] Emitting module PerfectThread
[8/18] Compiling PerfectThread Promise.swift
[9/18] Compiling PerfectLib PerfectError.swift
[10/18] Compiling PerfectLib File.swift
[11/18] Compiling PerfectLib SysProcess.swift
[12/18] Compiling PerfectLib JSONConvertible.swift
[13/18] Compiling PerfectLib Dir.swift
[14/18] Compiling PerfectLib Bytes.swift
[15/18] Compiling PerfectLib Utilities.swift
[16/18] Emitting module PerfectLib
[17/18] Compiling PerfectLib Log.swift
[18/18] Compiling PerfectLib PerfectServer.swift
[19/26] Compiling PerfectCURL CURLResponseInfos.swift
[20/26] Emitting module PerfectCURL
[21/26] Compiling PerfectCURL CURLRequest.swift
[22/26] Compiling PerfectCURL HTTPHeaders.swift
[23/26] Compiling PerfectCURL cURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCURL/cURL.swift:202:4: warning: using '_' to ignore the result of a Void-returning function is redundant
200 | 		let perf = self.perform()
201 | 		if let h = perf.2 {
202 | 			_ = accumulator.header.append(contentsOf: h)
    |    `- warning: using '_' to ignore the result of a Void-returning function is redundant
203 | 		}
204 | 		if let b = perf.3 {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCURL/cURL.swift:205:4: warning: using '_' to ignore the result of a Void-returning function is redundant
203 | 		}
204 | 		if let b = perf.3 {
205 | 			_ = accumulator.body.append(contentsOf: b)
    |    `- warning: using '_' to ignore the result of a Void-returning function is redundant
206 | 		}
207 | 		if perf.0 == false { // done
[24/26] Compiling PerfectCURL CURLResponse.swift
[25/26] Compiling PerfectCURL HTTPMethod.swift
[26/26] Compiling PerfectCURL CURLRequestOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCURL/CURLRequestOptions.swift:126:19: error: cannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope
124 | 			curl.setOption(CURLOPT_FTPPORT, s: optString)
125 | 		case .ftpResponseTimeout(let optInt):
126 | 			curl.setOption(CURLOPT_FTP_RESPONSE_TIMEOUT, int: optInt)
    |                   `- error: cannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope
127 | 		case .sshPublicKey(let optString):
128 | 			curl.setOption(CURLOPT_SSH_PUBLIC_KEYFILE, s: optString)
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
warning: you may be able to install libcurl using your system-packager:
    brew install curl
BUILD FAILURE 6.3 macosSpm