Build Information
Failed to build PerfectQiniu, reference master (d4ea23), with Swift 6.4 for macOS (SPM) on 15 Sep 2026 19:24:03 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leeceny/perfect-qiniu.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leeceny/perfect-qiniu
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d4ea235 Update README.md
Cloned https://github.com/leeceny/perfect-qiniu.git
Revision (git rev-parse @):
d4ea2354527f73a6af0741734371bcc21bc569e0
SUCCESS checkout https://github.com/leeceny/perfect-qiniu.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/leeceny/perfect-qiniu.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 278]
[Planning deferred tasks]
[57 / 581]
[68 / 583] PerfectThread
[90 / 607] PerfectLib
[90 / 607] PerfectThread
[94 / 607] PerfectThread
[100 / 607] PerfectThread-product
[103 / 607] COpenSSL
[104 / 607] COpenSSL
[108 / 607] PerfectLib
[118 / 607] COpenSSL
[121 / 607] COpenSSL
[123 / 607] PerfectLib-product
[132 / 607] COpenSSL
[148 / 610] COpenSSL
[161 / 610] COpenSSL
[176 / 610] COpenSSL
[200 / 610] COpenSSL
[210 / 610] COpenSSL
[221 / 610] COpenSSL
[238 / 610] PerfectLib
[256 / 610] COpenSSL
[279 / 610] COpenSSL
[304 / 610] COpenSSL
[325 / 610] COpenSSL
[352 / 610] COpenSSL
[373 / 610] COpenSSL
[402 / 610] COpenSSL
[426 / 610] COpenSSL
[446 / 610] COpenSSL
[467 / 610] COpenSSL
[491 / 610] COpenSSL
[509 / 610] COpenSSL
[535 / 610] COpenSSL
[555 / 610] COpenSSL
[568 / 611] PerfectCrypto
[578 / 620] PerfectCrypto
[579 / 620]
[579 / 620] PerfectCrypto
[592 / 629] PerfectNet
[594 / 629] PerfectCrypto
[608 / 641] PerfectHTTP
[611 / 641] PerfectHTTP
[614 / 641] PerfectHTTP
[626 / 648] PerfectNet
[628 / 648] PerfectNet
[638 / 651] PerfectCURL
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/612] Fetching perfect-crypto
[26/1116] Fetching perfect-crypto, perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (1.02s)
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git (1.02s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (3.25s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
[1/10784] Fetching perfectlib
[325/11163] Fetching perfectlib, perfect-thread
[1782/15124] Fetching perfectlib, perfect-thread, perfect-copenssl
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (4.14s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (4.14s)
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL.git (4.14s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (4.80s)
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
[1/808] Fetching perfect-http
[58/885] Fetching perfect-http, perfect-libcurl
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (1.00s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (1.00s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL.git at 4.0.2 (1.68s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.66s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.62s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.66s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.62s)
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
[1/570] Fetching perfect-net
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (0.88s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (1.56s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CURL.git
Working copy of https://github.com/PerfectlySoft/Perfect-CURL.git resolved at 3.1.0
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/PerfectlySoft/Perfect-Net.git
Working copy of https://github.com/PerfectlySoft/Perfect-Net.git resolved at 3.3.0
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/Perfect-HTTP.git
Working copy of https://github.com/PerfectlySoft/Perfect-HTTP.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL.git resolved at 4.0.2
Creating working copy for https://github.com/PerfectlySoft/Perfect-Crypto.git
Working copy of https://github.com/PerfectlySoft/Perfect-Crypto.git resolved at 3.3.0
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libcurl': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'perfect-libcurl': you may be able to install libcurl using your system-packager:
brew install curl
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CURL/Sources/PerfectCURL/CURLRequestOptions.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile CURLRequestOptions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CURL/Sources/PerfectCURL/CURLRequestOptions.swift:126:19: [1;31merror: [1;39mcannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope[0;0m
[0;36m124 |[0;0m curl.setOption(CURLOPT_FTPPORT, s: optString)
[0;36m125 |[0;0m case .ftpResponseTimeout(let optInt):
[0;36m126 |[0;0m curl.setOption([4;39mCURLOPT_FTP_RESPONSE_TIMEOUT[0;0m, int: optInt)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CURLOPT_FTP_RESPONSE_TIMEOUT' in scope[0;0m
[0;36m127 |[0;0m case .sshPublicKey(let optString):
[0;36m128 |[0;0m curl.setOption(CURLOPT_SSH_PUBLIC_KEYFILE, s: optString)
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CURL/Sources/PerfectCURL/CURLRequest.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CURL/Sources/PerfectCURL/CURLRequestOptions.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CURL/Sources/PerfectCURL/CURLResponse.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CURL/Sources/PerfectCURL/CURLResponseInfos.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CURL/Sources/PerfectCURL/cURL.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/Objects-normal/arm64/CURLRequestOptions.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/Objects-normal/arm64/CURLRequestOptions.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/Objects-normal/arm64/CURLRequestOptions.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/Objects-normal/arm64/CURLRequestOptions.dia -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-COpenSSL/COpenSSL/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libcurl/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-COpenSSL/COpenSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectCURL -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/Objects-normal/arm64/PerfectCURL_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectCURL.build/Debug/PerfectCURL-t.build/Objects-normal/arm64/CURLRequestOptions.o -index-unit-output-path /PerfectCURL.build/Debug/PerfectCURL-t.build/Objects-normal/arm64/CURLRequestOptions.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm