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 PerfectCURL with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/admin/builds/J1XnyXFH/1/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
Revision (git rev-parse @):
0593841a172433e5c9841791a87f9fe56d8c0ce4
SUCCESS checkout https://github.com/perfectlysoft/perfect-curl.git at 5.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-curl.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--423B1241ED78D482.txt
[5/17] Compiling PerfectLib SysProcess.swift
[6/18] Compiling PerfectLib PerfectError.swift
[7/18] Compiling PerfectLib PerfectServer.swift
[8/18] Compiling PerfectLib Log.swift
[9/18] Compiling PerfectThread Promise.swift
[10/18] Compiling PerfectLib JSONConvertible.swift
[11/18] Emitting module PerfectLib
[12/18] Compiling PerfectLib File.swift
[13/18] Compiling PerfectLib Bytes.swift
[14/18] Compiling PerfectLib Dir.swift
[15/18] Emitting module PerfectThread
[16/18] Compiling PerfectThread ThreadQueue.swift
[17/18] Compiling PerfectThread Threading.swift
[18/18] Compiling PerfectLib Utilities.swift
[19/26] Compiling PerfectCURL HTTPMethod.swift
[20/26] Compiling PerfectCURL HTTPHeaders.swift
[21/26] Compiling PerfectCURL CURLResponse.swift
[22/26] Compiling PerfectCURL CURLResponseInfos.swift
[23/26] Compiling PerfectCURL CURLRequest.swift
[24/26] Emitting module PerfectCURL
[25/26] Compiling PerfectCURL cURL.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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)
                        ^~~~

[26/26] Compiling PerfectCURL CURLRequestOptions.swift
/Users/admin/builds/J1XnyXFH/1/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
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git from cache
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.37s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git from cache (0.37s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.38s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.70s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.04s)
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/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
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
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Compiling PerfectCURL CURLRequestOptions.swift
/Users/admin/builds/J1XnyXFH/1/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)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/3] Emitting module PerfectCURL
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
BUILD FAILURE 5.10 macosSpm