Build Information
Failed to build PerfectQiniu, reference 1.0.4 (ebd3a4), with Swift 6.4 for macOS (SPM) on 15 Sep 2026 19:24:11 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: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leeceny/perfect-qiniu
* tag 1.0.4 -> FETCH_HEAD
HEAD is now at ebd3a4d 修复跟 Perfect-HTTPServer 依赖冲突问题
Cloned https://github.com/leeceny/perfect-qiniu.git
Revision (git rev-parse @):
ebd3a4de42d2aed5671da3a52a486da701eeda04
SUCCESS checkout https://github.com/leeceny/perfect-qiniu.git at 1.0.4
========================================
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]
[Constructing description]
[Pre-planning 1 / 278]
[Planning deferred tasks]
[57 / 581]
[68 / 583] PerfectThread
[88 / 607] PerfectLib
[91 / 607]
[94 / 607] PerfectLib
[102 / 607] PerfectThread
[110 / 607] COpenSSL
[112 / 607] COpenSSL
[115 / 607] COpenSSL
[118 / 607] COpenSSL
[123 / 607] PerfectThread-product
[131 / 607] COpenSSL
[143 / 610] COpenSSL
[154 / 610] COpenSSL
[166 / 610] COpenSSL
[182 / 610] COpenSSL
[201 / 610] COpenSSL
[224 / 610] COpenSSL
[245 / 610] COpenSSL
[266 / 610] COpenSSL
[293 / 610] COpenSSL
[316 / 610] COpenSSL
[343 / 610] COpenSSL
[369 / 610] COpenSSL
[399 / 610] COpenSSL
[423 / 610] COpenSSL
[447 / 610] COpenSSL
[471 / 610] COpenSSL
[497 / 610] COpenSSL
[523 / 610] COpenSSL
[553 / 610] COpenSSL
[569 / 611]
[578 / 620] PerfectCrypto
[579 / 620]
[579 / 620] PerfectCrypto
[586 / 622] PerfectNet
[591 / 629] PerfectNet
[594 / 629] PerfectNet
[606 / 641] PerfectHTTP
[610 / 641] PerfectHTTP
[615 / 641] PerfectCrypto
[625 / 648] PerfectCURL
[628 / 648] PerfectCURL
[629 / 648] PerfectCURL
[638 / 651] PerfectCURL
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/504] Fetching perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (2.01s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (4.24s)
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
[1/808] Fetching perfect-http
[2/885] Fetching perfect-http, perfect-libcurl
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.99s)
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (0.99s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (1.67s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.65s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
[1/10784] Fetching perfectlib
[1403/11354] Fetching perfectlib, perfect-net
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (8.42s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (8.42s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (9.09s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
[1/379] Fetching perfect-thread
[380/991] Fetching perfect-thread, perfect-crypto
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (1.45s)
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git (1.45s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (2.14s)
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL.git
[1/3961] Fetching perfect-copenssl
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL.git (1.98s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL.git at 4.0.2 (2.65s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.62s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.62s)
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-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-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-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/Perfect-Crypto.git
Working copy of https://github.com/PerfectlySoft/Perfect-Crypto.git resolved at 3.3.0
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/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
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