The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Netrofit, reference 0.1.1 (cd874e), with Swift 6.4 for Linux on 24 Sep 2026 08:54:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/winddpan/Netrofit.git
Reference: 0.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/winddpan/Netrofit
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at cd874ef Add Swift 6 concurrency support with Sendable conformance
Cloned https://github.com/winddpan/Netrofit.git
Revision (git rev-parse @):
cd874ef94615829fe489ca697077f7d562052db8
SUCCESS checkout https://github.com/winddpan/Netrofit.git at 0.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/winddpan/Netrofit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.49s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.69s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Provisioning 20 / 24]
[Pre-planning 1 / 620]
[Planning deferred tasks]
[26 / 254] SwiftSyntaxMacros
[139 / 269] SwiftSyntax601
[163 / 270] SwiftSyntax
[167 / 279] SwiftSyntax
[172 / 281] SwiftSyntax510
[181 / 283] SwiftSyntax602
[185 / 284] SwiftSyntax601
[187 / 284] SwiftSyntax
[198 / 294] SwiftBasicFormat
[200 / 312] SwiftParser
[202 / 312] SwiftDiagnostics
[210 / 312] SwiftBasicFormat
[215 / 312] SwiftParser
[216 / 312] SwiftParser
[218 / 312] SwiftParser
[222 / 312] SwiftParser
[224 / 312] SwiftDiagnostics
[225 / 312] SwiftDiagnostics
[226 / 312] SwiftDiagnostics
[227 / 312] SwiftDiagnostics
[228 / 312] SwiftOperators
[231 / 312] SwiftDiagnostics
[232 / 312] SwiftBasicFormat
[233 / 313] SwiftParserDiagnostics
[236 / 313] SwiftDiagnostics
[237 / 313]
[242 / 324] SwiftParserDiagnostics
[243 / 324] SwiftParserDiagnostics
[244 / 324] SwiftParserDiagnostics
[250 / 324] SwiftParserDiagnostics
[251 / 325] SwiftParserDiagnostics
[252 / 325] SwiftSyntaxBuilder
[255 / 325] SwiftParser
[259 / 335] SwiftOperators
[260 / 335] SwiftOperators
[261 / 335] SwiftOperators
[264 / 335] SwiftOperators
[271 / 335] SwiftOperators
[271 / 335]
[275 / 345] SwiftSyntaxBuilder
[277 / 346] SwiftSyntaxBuilder
[279 / 347] SwiftSyntaxBuilder
[282 / 347] SwiftSyntaxBuilder
[287 / 347] SwiftParserDiagnostics
[289 / 347] SwiftParserDiagnostics
[293 / 357] SwiftSyntaxMacros
[294 / 357] SwiftSyntaxMacros
[296 / 357] SwiftSyntaxMacros
[302 / 357] SwiftSyntaxMacros
[304 / 357] SwiftSyntaxMacros-product
[308 / 367] SwiftSyntaxMacroExpansion
[309 / 367] SwiftSyntaxMacroExpansion
[310 / 367] SwiftSyntaxBuilder
[311 / 367] SwiftSyntaxMacroExpansion
[312 / 368] SwiftSyntaxMacros
[313 / 368] SwiftSyntaxMacroExpansion
[317 / 369] SwiftSyntaxMacroExpansion
[318 / 369] SwiftSyntaxMacroExpansion
[325 / 370] SwiftCompilerPluginMessageHandling
[329 / 379] SwiftCompilerPluginMessageHandling
[330 / 379] SwiftCompilerPluginMessageHandling
[331 / 379] SwiftCompilerPluginMessageHandling
[332 / 379] SwiftCompilerPluginMessageHandling
[333 / 379] SwiftCompilerPluginMessageHandling
[335 / 379] SwiftCompilerPluginMessageHandling
[342 / 382] SwiftCompilerPlugin
[343 / 382] SwiftCompilerPlugin
[349 / 383] SwiftCompilerPluginMessageHandling
[349 / 384] SwiftCompilerPlugin
[351 / 384] SwiftCompilerPluginMessageHandling
[353 / 385] SwiftSyntax
[356 / 386] SwiftSyntax
[362 / 386] SwiftSyntaxBuilder
[371 / 387] NetrofitMacros
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implemen[380 / 396] NetrofitMacros
t the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[381 / 396] NetrofitMacros
[385 / 397] NetrofitMacros
[395 / 407] Netrofit
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile NetrofitResponse.swift
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Netrofit/AttributeWrappers.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/DynamicContentTypeDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/EventStreamingDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/HTTPBodyDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/TextPlainDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/HTTPBodyEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/JSONEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/MultipartEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/TextPlainEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/URLEncodedFormEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/NetrofitMacros.swift -primary-file /host/spi-builder-workspace/Sources/Netrofit/NetrofitPlugin.swift -primary-file /host/spi-builder-workspace/Sources/Netrofit/NetrofitProvider.swift -primary-file /host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift /host/spi-builder-workspace/Sources/Netrofit/NetrofitSessionProtocols.swift /host/spi-builder-workspace/Sources/Netrofit/RequestBuilder.swift /host/spi-builder-workspace/Sources/Netrofit/Utils/AnyEncodable.swift /host/spi-builder-workspace/Sources/Netrofit/Utils/String+URLPathPart.swift /host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift /host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/supplementaryOutputs-23 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/NetrofitMacros\#NetrofitMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Netrofit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/Netrofit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/NetrofitPlugin.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/NetrofitProvider.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/NetrofitResponse.o -index-unit-output-path /Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/NetrofitPlugin.o -index-unit-output-path /Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/NetrofitProvider.o -index-unit-output-path /Netrofit.build/Debug-linux-x86_64/Netrofit-t.build/Objects-normal/x86_64/NetrofitResponse.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux