The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-atproto, reference main (ddf899), with Swift 6.4 for Wasm on 20 Sep 2026 07:46:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andooown/swift-atproto.git
Reference: main
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/andooown/swift-atproto
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ddf8995 Merge pull request #36 from andooown/update-lexicon/2024-02-05-04-55-52
Submodule path 'atproto': checked out 'aa15789e11b365658ff1a2175b907bd88f956324'
Submodule 'atproto' (https://github.com/bluesky-social/atproto.git) registered for path 'atproto'
Cloning into '/host/spi-builder-workspace/atproto'...
Cloned https://github.com/andooown/swift-atproto.git
Revision (git rev-parse @):
ddf899502e079ab3cc4c24251e6c06b98eed57d3
SUCCESS checkout https://github.com/andooown/swift-atproto.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/andooown/swift-atproto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-parsing.git
[1/27352] Fetching swift-collections
[27353/107337] Fetching swift-collections, swift-syntax
[106539/205607] Fetching swift-collections, swift-syntax, swift-parsing
Fetched https://github.com/apple/swift-collections.git (3.19s)
[168428/178255] Fetching swift-syntax, swift-parsing
Fetched https://github.com/apple/swift-syntax.git (4.27s)
Fetched https://github.com/pointfreeco/swift-parsing.git (4.29s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (5.44s)
Computing version for https://github.com/pointfreeco/swift-parsing.git
Computed https://github.com/pointfreeco/swift-parsing.git at 0.15.2 (0.20s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5332] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.55s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.65s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6136] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.67s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (0.91s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.28s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.10.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-parsing.git
Working copy of https://github.com/pointfreeco/swift-parsing.git resolved at 0.15.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
warning: 'swift-case-paths': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/pointfreeco/swift-parsing->github.com/pointfreeco/swift-case-paths->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'swift-case-paths': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/pointfreeco/swift-parsing->github.com/pointfreeco/swift-case-paths->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1004]
[Planning deferred tasks]
[176 / 386] InternalCollectionsUtilities
[183 / 413] InternalCollectionsUtilities
[187 / 413] IssueReporting
[202 / 413] SwiftSyntax509
[209 / 414] InternalCollectionsUtilities
[211 / 414] IssueReporting-product
[212 / 414] IssueReporting-product
[213 / 414] IssueReporting-product
[214 / 414] InternalCollectionsUtilities
[216 / 414] OrderedCollections
[218 / 414] InternalCollectionsUtilities
[219 / 414] OrderedCollections
[222 / 414] InternalCollectionsUtilities
[227 / 415] CasePathsCore
[232 / 418] SwiftSyntax
[238 / 446] OrderedCollections
[240 / 446] SwiftSyntax
[240 / 447] SwiftSyntax
[242 / 447] SwiftSyntax
[254 / 447] OrderedCollections
[255 / 447] SwiftSyntax
[257 / 447] OrderedCollections
[258 / 447] OrderedCollections-product
[259 / 447] OrderedCollections-product
[260 / 447] OrderedCollections-product
[261 / 447] OrderedCollections
[263 / 447] OrderedCollections
[265 / 448] OrderedCollections-product
[269 / 448] OrderedCollections
[270 / 448] OrderedCollections
[271 / 448] OrderedCollections
[275 / 448] IssueReporting
[281 / 452] ATProtoCore
[284 / 468] CasePathsCore
[285 / 468] SwiftSyntax
[292 / 468] CasePathsCore
[297 / 469] SwiftSyntax-product
[299 / 469] CasePathsCore
[301 / 469] CasePathsCore
[302 / 469] CasePathsCore
[303 / 469] CasePathsCore
[305 / 469] CasePathsCore
[306 / 470] ATProtoCore
[309 / 470] CasePathsCore
[311 / 470] CasePathsCore
[312 / 470] CasePathsCore
[313 / 470]
[317 / 480] SwiftParser
[318 / 480] SwiftParser
[328 / 480] SwiftParser
[330 / 480] ATProtoCore
[331 / 480] SwiftParser
[337 / 480] SwiftParser
[338 / 480] SwiftParser
[339 / 481] CasePathsCore
[346 / 497] SwiftBasicFormat
[348 / 497] SwiftDiagnostics
[350 / 497] SwiftDiagnostics
[356 / 497] SwiftBasicFormat
[362 / 497] SwiftDiagnostics
[364 / 497] SwiftBasicFormat
[368 / 498] SwiftParserDiagnostics
[376 / 518] SwiftOperators
[377 / 518] SwiftParserDiagnostics
[380 / 519] SwiftOperators
[390 / 519] SwiftParserDiagnostics
[392 / 520] SwiftParserDiagnostics
[393 / 520] SwiftParserDiagnostics
[394 / 520] SwiftParser
[395 / 520] SwiftParserDiagnostics
[399 / 520] SwiftOperators
[401 / 520] SwiftOperators
[403 / 520] SwiftOperators
[407 / 521]
[413 / 530] SwiftSyntaxBuilder
[414 / 531] SwiftSyntaxBuilder
[416 / 531] SwiftSyntaxBuilder
[417 / 531] SwiftSyntaxBuilder
[421 / 531] SwiftSyntaxBuilder
[428 / 541] SwiftSyntaxMacros
[430 / 541] SwiftSyntaxMacros
[438 / 541] SwiftSyntaxMacros-product
[444 / 551] SwiftSyntaxMacroExpansion
[448 / 552] SwiftSyntaxMacroExpansion
[454 / 552] SwiftSyntaxMacroExpansion
[459 / 560] SwiftSyntaxMacroExpansion
[462 / 560] SwiftCompilerPluginMessageHandling
[465 / 561] SwiftSyntaxBuilder
[475 / 564] SwiftCompilerPluginMessageHandling
[481 / 565] SwiftCompilerPluginMessageHandling
[483 / 568] SwiftSyntaxMacroExpansion
[485 / 568] SwiftCompilerPlugin
[492 / 569] SwiftCompilerPluginMessageHandling
[494 / 570] CasePathsMacrosSupport
[496 / 571] SwiftSyntax
[499 / 572] SwiftSyntax
[506 / 572] SwiftSyntaxMacros
[520 / 574] ATProtoMacroPlugin
[527 / 580] ATProtoMacroPlugin
[536 / 582] CasePathsMacros
[547 / 593] ATProtoMacro
[555 / 594] ATProtoMacro
[562 / 595] Parsing
[569 / 604] Parsing
[571 / 604] Parsing
[572 / 605] CasePaths
[574 / 605] Parsing
[590 / 616] Parsing
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile XRPCSessionClient.swift
/host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     private let baseURL: URL
 13 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |     private let sessionProvider: SessionProvider
 15 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift:18:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     public init(
 17 |         baseURL: URL,
 18 |         urlSession: URLSession,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         sessionProvider: SessionProvider
 20 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift:68:53: error: cannot find type 'URLRequest' in scope
 66 |     }
 67 |
 68 |     func buildRequest<R>(from request: R) throws -> URLRequest where R: XRPCRequest {
    |                                                     `- error: cannot find type 'URLRequest' in scope
 69 |         guard
 70 |             var urlComponent = URLComponents(
/host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift:100:43: error: cannot find type 'URLRequest' in scope
 98 |     }
 99 |
100 |     func sendRequest<Response>(_ request: URLRequest, type: Response.Type) async throws -> Response
    |                                           `- error: cannot find type 'URLRequest' in scope
101 |     where Response: Decodable {
102 |         let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift:83:26: error: cannot find 'URLRequest' in scope
 81 |         }
 82 |
 83 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 84 |         urlRequest.httpMethod = request.type.httpMethod
 85 |
/host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift:102:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |     func sendRequest<Response>(_ request: URLRequest, type: Response.Type) async throws -> Response
101 |     where Response: Decodable {
102 |         let (data, response) = try await urlSession.data(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
103 |         guard let httpResponse = response as? HTTPURLResponse else {
104 |             throw Error.unknown(underlying: nil)
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/ATProtoXRPC/Entities/Indirect.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Entities/SafeURL.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Entities/Session.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Entities/Union.generated.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Entities/UnionCodable.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Entities/XRPCError.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Entities/XRPCErrorResponse.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Export.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Extensions/JSONDecoderExtensions.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/Extensions/URLSessionExtensions.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/SessionProvider.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCClient.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCRequest.swift /host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCRequestParameterConvertible.swift -primary-file /host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCRequests.swift -primary-file /host/spi-builder-workspace/Sources/ATProtoXRPC/XRPC/XRPCSessionClient.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCRequests.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCRequests.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCRequests.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCRequests.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCSessionClient.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCSessionClient.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCSessionClient.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCSessionClient.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 5 -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/CasePathsMacros\#CasePathsMacros -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ATProtoXRPC -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/ATProtoXRPC_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/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCRequests.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCSessionClient.o -index-unit-output-path /swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCRequests.o -index-unit-output-path /swift-atproto.build/Debug-webassembly-wasm32/ATProtoXRPC-t.build/Objects-normal/wasm32/XRPCSessionClient.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm