Build Information
Failed to build Prelude, reference master (146f53), with Swift 6.4 for Wasm on 18 Sep 2026 06:25:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wayfair-archive/prelude.git
Reference: master
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/wayfair-archive/prelude
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 146f53b Fix a version for App Store validation (#27)
Cloned https://github.com/wayfair-archive/prelude.git
Revision (git rev-parse @):
146f53bb562859602e14fa632a71b141970cdbd8
SUCCESS checkout https://github.com/wayfair-archive/prelude.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/wayfair-archive/prelude.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:18:46: [1;31merror: [1;39mcannot find type 'Operation' in scope[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m public final class LaterOperation<L: Later>: [4;39mOperation[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Operation' in scope[0;0m
[0;36m19 |[0;0m private let upstream: L
[0;36m20 |[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:21:25: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m19 |[0;0m private let upstream: L
[0;36m20 |[0;0m
[0;36m21 |[0;0m public [4;39moverride[0;0m var isAsynchronous: Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m22 |[0;0m true
[0;36m23 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:30:13: [1;31merror: [1;39mcannot find 'didChangeValue' in scope[0;0m
[0;36m28 |[0;0m }
[0;36m29 |[0;0m didSet {
[0;36m30 |[0;0m [4;39mdidChangeValue[0;0m(for: \.isExecuting)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'didChangeValue' in scope[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:30:33: [1;31merror: [1;39mcannot infer key path type from context; consider explicitly specifying a root type[0;0m
[0;36m28 |[0;0m }
[0;36m29 |[0;0m didSet {
[0;36m30 |[0;0m didChangeValue(for: [4;39m\[0;0m.isExecuting)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot infer key path type from context; consider explicitly specifying a root type[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:33:25: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m }
[0;36m33 |[0;0m public [4;39moverride[0;0m var isExecuting: Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m34 |[0;0m _isExecuting
[0;36m35 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:42:13: [1;31merror: [1;39mcannot find 'didChangeValue' in scope[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m didSet {
[0;36m42 |[0;0m [4;39mdidChangeValue[0;0m(for: \.isFinished)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'didChangeValue' in scope[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:42:33: [1;31merror: [1;39mcannot infer key path type from context; consider explicitly specifying a root type[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m didSet {
[0;36m42 |[0;0m didChangeValue(for: [4;39m\[0;0m.isFinished)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot infer key path type from context; consider explicitly specifying a root type[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:45:25: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m }
[0;36m45 |[0;0m public [4;39moverride[0;0m var isFinished: Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m46 |[0;0m _isFinished
[0;36m47 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:56:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m54 |[0;0m }
[0;36m55 |[0;0m
[0;36m56 |[0;0m public [4;39moverride[0;0m func start() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m57 |[0;0m guard !isCancelled else {
[0;36m58 |[0;0m _isFinished = true
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:31:24: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m29 |[0;0m /// protocol that represents a type that can return a `DispatchQueue`. We want to be able to distinguish between different queues based on the type that provides them — specifically, we want to be able to statically determine if we are going to call back on the main queue or not. To do so, we’ll define one canonical conformance to this protocol (see `Laters.MainQueue` below) which we know always points to the main queue. Then when we use generic functions that are tagged with `Laters.MainQueue`, we can be sure at compile time that we will be using the main queue
[0;36m30 |[0;0m public protocol TaggedQueue {
[0;36m31 |[0;0m func getQueue() -> [4;39mDispatchQueue[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:42:28: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m40 |[0;0m /// struct, that conforms to `TaggedQueue`, that contains a `DispatchQueue` value provided at runtime. We can’t make any static guarantees about which queue it will be.
[0;36m41 |[0;0m struct AnyQueue: TaggedQueue {
[0;36m42 |[0;0m private let queue: [4;39mDispatchQueue[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m43 |[0;0m
[0;36m44 |[0;0m fileprivate init(queue: DispatchQueue) {
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:44:33: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m42 |[0;0m private let queue: DispatchQueue
[0;36m43 |[0;0m
[0;36m44 |[0;0m fileprivate init(queue: [4;39mDispatchQueue[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m45 |[0;0m self.queue = queue
[0;36m46 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:48:35: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m46 |[0;0m }
[0;36m47 |[0;0m
[0;36m48 |[0;0m public func getQueue() -> [4;39mDispatchQueue[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m49 |[0;0m queue
[0;36m50 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:55:35: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m53 |[0;0m /// struct, that conforms to `TaggedQueue`, that we always know will be pointing at the main queue
[0;36m54 |[0;0m struct MainQueue: TaggedQueue {
[0;36m55 |[0;0m public func getQueue() -> [4;39mDispatchQueue[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m56 |[0;0m .main
[0;36m57 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:73:34: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m71 |[0;0m /// given a `Later` (`self`) which performs some work, return a `Later` which performs the same work, but then dispatches asynchronously onto the provided `queue` prior to calling its callback
[0;36m72 |[0;0m /// - Parameter queue: a `DispatchQueue`
[0;36m73 |[0;0m func dispatchAsync(on queue: [4;39mDispatchQueue[0;0m) -> Laters.DispatchAsync<L, Laters.AnyQueue> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m74 |[0;0m dispatchAsync(taggedQueue: Laters.AnyQueue(queue: queue))
[0;36m75 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:91:34: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m89 |[0;0m /// given a `Later` (`self`) which performs some work, return a `Later` which performs the same work, but then dispatches asynchronously onto the provided `queue` prior to calling its callback
[0;36m90 |[0;0m /// - Parameter queue: a `DispatchQueue`
[0;36m91 |[0;0m func dispatchAsync(on queue: [4;39mDispatchQueue[0;0m) -> Laters.DispatchAsync<Self, Laters.AnyQueue> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m92 |[0;0m dispatchAsync(taggedQueue: Laters.AnyQueue(queue: queue))
[0;36m93 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:332:37: [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m330 |[0;0m public extension Laters {
[0;36m331 |[0;0m struct After<A> {
[0;36m332 |[0;0m private let deadline: () -> [4;39mDispatchTime[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m333 |[0;0m private let queue: DispatchQueue
[0;36m334 |[0;0m private let value: () -> A
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:333:28: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m331 |[0;0m struct After<A> {
[0;36m332 |[0;0m private let deadline: () -> DispatchTime
[0;36m333 |[0;0m private let queue: [4;39mDispatchQueue[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m334 |[0;0m private let value: () -> A
[0;36m335 |[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:341:60: [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m339 |[0;0m /// - queue: a `DispatchQueue`
[0;36m340 |[0;0m /// - value: a value
[0;36m341 |[0;0m public init(deadline: @autoclosure @escaping () -> [4;39mDispatchTime[0;0m, queue: DispatchQueue, value: @autoclosure @escaping () -> A) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m342 |[0;0m self.deadline = deadline
[0;36m343 |[0;0m self.queue = queue
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:341:44: [1;33mwarning: [1;39m'@escaping' only applies to function types; this will be an error in a future Swift language mode[0;0m
[0;36m339 |[0;0m /// - queue: a `DispatchQueue`
[0;36m340 |[0;0m /// - value: a value
[0;36m341 |[0;0m public init(deadline: @autoclosure @escaping () -> DispatchTime, queue: DispatchQueue, value: @autoclosure @escaping () -> A) {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@escaping' only applies to function types; this will be an error in a future Swift language mode[0;0m
[0;36m342 |[0;0m self.deadline = deadline
[0;36m343 |[0;0m self.queue = queue
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:341:81: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m339 |[0;0m /// - queue: a `DispatchQueue`
[0;36m340 |[0;0m /// - value: a value
[0;36m341 |[0;0m public init(deadline: @autoclosure @escaping () -> DispatchTime, queue: [4;39mDispatchQueue[0;0m, value: @autoclosure @escaping () -> A) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m342 |[0;0m self.deadline = deadline
[0;36m343 |[0;0m self.queue = queue
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:421:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m419 |[0;0m public extension Laters {
[0;36m420 |[0;0m struct DataTask {
[0;36m421 |[0;0m private let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m422 |[0;0m private let session: URLSession
[0;36m423 |[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:422:30: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m420 |[0;0m struct DataTask {
[0;36m421 |[0;0m private let request: URLRequest
[0;36m422 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m423 |[0;0m
[0;36m424 |[0;0m /// construct a `Later` which wraps a `URLSessionDataTask` vended by the provided `URLSession`
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:428:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m426 |[0;0m /// - request: a `URLRequest` used to construct the data task
[0;36m427 |[0;0m /// - session: the `URLSession` which will vend the task
[0;36m428 |[0;0m public init(request: [4;39mURLRequest[0;0m, session: URLSession) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m429 |[0;0m self.request = request
[0;36m430 |[0;0m self.session = session
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:428:51: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m426 |[0;0m /// - request: a `URLRequest` used to construct the data task
[0;36m427 |[0;0m /// - session: the `URLSession` which will vend the task
[0;36m428 |[0;0m public init(request: URLRequest, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m429 |[0;0m self.request = request
[0;36m430 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:452:37: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m450 |[0;0m /// - response: cursed `URLSession` optional `URLResponse`
[0;36m451 |[0;0m /// - error: cursed `URLSession` optional `Error`
[0;36m452 |[0;0m func process(data: Data?, response: [4;39mURLResponse[0;0m?, error: Error?) throws -> Result<(Data, URLResponse), Error> {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m453 |[0;0m switch (data, response, error) {
[0;36m454 |[0;0m case (.some(let data), .some(let response), .none):
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:452:90: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m450 |[0;0m /// - response: cursed `URLSession` optional `URLResponse`
[0;36m451 |[0;0m /// - error: cursed `URLSession` optional `Error`
[0;36m452 |[0;0m func process(data: Data?, response: URLResponse?, error: Error?) throws -> Result<(Data, [4;39mURLResponse[0;0m), Error> {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m453 |[0;0m switch (data, response, error) {
[0;36m454 |[0;0m case (.some(let data), .some(let response), .none):
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:474:45: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m472 |[0;0m private let emptyData = Data()
[0;36m473 |[0;0m extension Laters.DataTask: Later {
[0;36m474 |[0;0m public typealias Output = Result<(Data, [4;39mURLResponse[0;0m), Error>
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m475 |[0;0m
[0;36m476 |[0;0m public func run(_ next: @escaping (Result<(Data, URLResponse), Error>) -> Void) {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:476:54: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m474 |[0;0m public typealias Output = Result<(Data, URLResponse), Error>
[0;36m475 |[0;0m
[0;36m476 |[0;0m public func run(_ next: @escaping (Result<(Data, [4;39mURLResponse[0;0m), Error>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m477 |[0;0m session.dataTask(with: request) { data, response, error in
[0;36m478 |[0;0m let result = try! process(data: data, response: response, error: error)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Prelude/Reducers.swift:85:27: [1;33mwarning: [1;39mgeneric parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m /// a struct that wraps a function suitable for passing to the `updateAccumulatingResult:` parameter of `Sequence.reduce(into:_:)`
[0;36m11 |[0;0m public struct Reducer<A, X> {
[0;36m|[0;0m `- [1;39mnote: [1;39m'A' previously declared here[0;0m
[0;36m12 |[0;0m public let updateAccumulatingResult: (inout A, X) -> Void
[0;36m13 |[0;0m
[0;36m:[0;0m
[0;36m83 |[0;0m /// - rhs: another reducer
[0;36m84 |[0;0m /// - Returns: a reducer that for each input, first runs `lhs`, then runs `rhs`
[0;36m85 |[0;0m public static func <><A, X>(_ lhs: Reducer<A, X>, _ rhs: Reducer<A, X>) -> Reducer<A, X> {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m86 |[0;0m lhs.followed(by: rhs)
[0;36m87 |[0;0m }
/host/spi-builder-workspace/Sources/Prelude/Reducers.swift:85:30: [1;33mwarning: [1;39mgeneric parameter 'X' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m /// a struct that wraps a function suitable for passing to the `updateAccumulatingResult:` parameter of `Sequence.reduce(into:_:)`
[0;36m11 |[0;0m public struct Reducer<A, X> {
[0;36m|[0;0m `- [1;39mnote: [1;39m'X' previously declared here[0;0m
[0;36m12 |[0;0m public let updateAccumulatingResult: (inout A, X) -> Void
[0;36m13 |[0;0m
[0;36m:[0;0m
[0;36m83 |[0;0m /// - rhs: another reducer
[0;36m84 |[0;0m /// - Returns: a reducer that for each input, first runs `lhs`, then runs `rhs`
[0;36m85 |[0;0m public static func <><A, X>(_ lhs: Reducer<A, X>, _ rhs: Reducer<A, X>) -> Reducer<A, X> {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'X' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m86 |[0;0m lhs.followed(by: rhs)
[0;36m87 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Prelude/ChangeTracking.swift /host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift /host/spi-builder-workspace/Sources/Prelude/Laters.swift /host/spi-builder-workspace/Sources/Prelude/Monoid.swift /host/spi-builder-workspace/Sources/Prelude/Nat.swift /host/spi-builder-workspace/Sources/Prelude/Operators.swift /host/spi-builder-workspace/Sources/Prelude/Predicate.swift /host/spi-builder-workspace/Sources/Prelude/Prelude.swift /host/spi-builder-workspace/Sources/Prelude/Reducers.swift /host/spi-builder-workspace/Sources/Prelude/Refinements.swift /host/spi-builder-workspace/Sources/Prelude/Sequence+Prelude.swift -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 -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/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Prelude -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/Objects-normal/wasm32/Prelude_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/Objects-normal/wasm32/Modules/Prelude.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/Objects-normal/wasm32/Modules/Prelude.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/Objects-normal/wasm32/Prelude-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/Objects-normal/wasm32/Prelude-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/Objects-normal/wasm32/Prelude-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Prelude.build/Debug-webassembly-wasm32/Prelude-t.build/Objects-normal/wasm32/Modules/Prelude.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm