Build Information
Failed to build Async, reference 1.0.0-rc.1.1 (76ed78
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 05:42:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/async.git
Reference: 1.0.0-rc.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/async
* tag 1.0.0-rc.1.1 -> FETCH_HEAD
HEAD is now at 76ed784 Merge pull request #76 from vapor/stream-error-cleanup
Cloned https://github.com/vapor-community/async.git
Revision (git rev-parse @):
76ed7841b32dcc47168e8d9040ba03c024224d0c
SUCCESS checkout https://github.com/vapor-community/async.git at 1.0.0-rc.1.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "async",
"name": "Async",
"url": "https://github.com/vapor-community/async.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/async",
"dependencies": [
]
}
]
}
Fetching https://github.com/vapor-community/async.git
[1/2323] Fetching async
Fetched https://github.com/vapor-community/async.git from cache (0.97s)
Creating working copy for https://github.com/vapor-community/async.git
Working copy of https://github.com/vapor-community/async.git resolved at 1.0.0-rc.1.1 (76ed784)
warning: '.resolve-product-dependencies': dependency 'async' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/vapor-community/async.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/44] Emitting module Async
/Users/admin/builder/spi-builder-workspace/Sources/Async/Deprecated.swift:3:5: warning: 'public' modifier is redundant for static property declared in a public extension
1 | public extension DirectoryConfig {
2 | @available(*, deprecated, renamed: "detect")
3 | public static var `default`: () -> DirectoryConfig {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
4 | return DirectoryConfig.detect
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift:167:1: warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
165 | let NOTE_FFCOPY = Darwin.NOTE_FFCOPY
166 |
167 | extension kevent: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
168 | public var description: String {
169 | var flags: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Map.swift:6:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
4 | ///
5 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
6 | public func map<T>(to type: T.Type, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | let promise = Promise(T.self)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Transform.swift:5:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
3 | ///
4 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
5 | public func transform<T>(to instance: T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | return self.map(to: T.self) { _ in
7 | instance
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Unwrap.swift:4:5: warning: 'public' modifier is redundant for instance method declared in a public extension
2 | /// Unwraps an optional value contained inside a Future's expectation.
3 | /// If the optional resolves to `nil` (`.none`), the supplied error will be thrown instead.
4 | public func unwrap(or error: Error) -> Future<Expectation.WrappedType> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return map(to: Expectation.WrappedType.self) { optional in
6 | guard let wrapped = optional.wrapped else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Signal.swift:13:13: warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | private let _done = Future(())
| |- warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_done' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:15: note: consider making generic struct 'Future' conform to the 'Sendable' protocol
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: consider making generic struct 'Future' conform to the 'Sendable' protocol
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:6:22: warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
4 |
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
7 | public typealias Output = UnsafeBufferPointer<UInt8>
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/InputStream.swift:16:20: note: 'Input' declared here
14 | public protocol InputStream {
15 | /// The type of element signaled.
16 | associatedtype Input
| `- note: 'Input' declared here
17 |
18 | /// Data notification sent by the `OutputStream` in response to requests to `OutputRequest.requestOutput`.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:7:22: warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
7 | public typealias Output = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/OutputStream.swift:11:20: note: 'Output' declared here
9 | public protocol OutputStream: class {
10 | /// The type of element signaled.
11 | associatedtype Output
| `- note: 'Output' declared here
12 |
13 | /// Request Publisher to start streaming data.
[4/48] Compiling Async Promise.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Signal.swift:13:13: warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | private let _done = Future(())
| |- warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_done' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:15: note: consider making generic struct 'Future' conform to the 'Sendable' protocol
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: consider making generic struct 'Future' conform to the 'Sendable' protocol
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[5/48] Compiling Async PromiseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Signal.swift:13:13: warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | private let _done = Future(())
| |- warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_done' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:15: note: consider making generic struct 'Future' conform to the 'Sendable' protocol
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: consider making generic struct 'Future' conform to the 'Sendable' protocol
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[6/48] Compiling Async Signal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Signal.swift:13:13: warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | private let _done = Future(())
| |- warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_done' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:15: note: consider making generic struct 'Future' conform to the 'Sendable' protocol
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: consider making generic struct 'Future' conform to the 'Sendable' protocol
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[7/48] Compiling Async Socket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Signal.swift:13:13: warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | private let _done = Future(())
| |- warning: let '_done' is not concurrency-safe because non-'Sendable' type 'Future<()>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_done' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:15: note: consider making generic struct 'Future' conform to the 'Sendable' protocol
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: consider making generic struct 'Future' conform to the 'Sendable' protocol
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[8/48] Compiling Async ByteSerializerStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[9/48] Compiling Async ConnectingStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[10/48] Compiling Async DeltaStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[11/48] Compiling Async DrainStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[12/48] Compiling Async InputStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[13/48] Compiling Async MapStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[14/48] Compiling Async OutputStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[15/48] Compiling Async PushStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[16/48] Compiling Async QueueStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[17/48] Compiling Async Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[18/48] Compiling Async TranscribingStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[19/48] Compiling Async TranslatingStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[20/48] Compiling Async Future+DoCatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Map.swift:6:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
4 | ///
5 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
6 | public func map<T>(to type: T.Type, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | let promise = Promise(T.self)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[21/48] Compiling Async Future+Flatten.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Map.swift:6:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
4 | ///
5 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
6 | public func map<T>(to type: T.Type, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | let promise = Promise(T.self)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[22/48] Compiling Async Future+Global.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Map.swift:6:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
4 | ///
5 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
6 | public func map<T>(to type: T.Type, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | let promise = Promise(T.self)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[23/48] Compiling Async Future+Map.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Map.swift:6:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
4 | ///
5 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
6 | public func map<T>(to type: T.Type, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | let promise = Promise(T.self)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[24/48] Compiling Async Future+Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Map.swift:6:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
4 | ///
5 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
6 | public func map<T>(to type: T.Type, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | let promise = Promise(T.self)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[25/48] Compiling Async Deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Deprecated.swift:3:5: warning: 'public' modifier is redundant for static property declared in a public extension
1 | public extension DirectoryConfig {
2 | @available(*, deprecated, renamed: "detect")
3 | public static var `default`: () -> DirectoryConfig {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
4 | return DirectoryConfig.detect
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/EventLoop.swift:87:17: warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | if #available(OSX 10.12, *) {
86 | Thread.detachNewThread {
87 | work()
| |- warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | }
89 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[26/48] Compiling Async EpollEventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Deprecated.swift:3:5: warning: 'public' modifier is redundant for static property declared in a public extension
1 | public extension DirectoryConfig {
2 | @available(*, deprecated, renamed: "detect")
3 | public static var `default`: () -> DirectoryConfig {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
4 | return DirectoryConfig.detect
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/EventLoop.swift:87:17: warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | if #available(OSX 10.12, *) {
86 | Thread.detachNewThread {
87 | work()
| |- warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | }
89 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[27/48] Compiling Async EpollEventSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Deprecated.swift:3:5: warning: 'public' modifier is redundant for static property declared in a public extension
1 | public extension DirectoryConfig {
2 | @available(*, deprecated, renamed: "detect")
3 | public static var `default`: () -> DirectoryConfig {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
4 | return DirectoryConfig.detect
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/EventLoop.swift:87:17: warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | if #available(OSX 10.12, *) {
86 | Thread.detachNewThread {
87 | work()
| |- warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | }
89 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[28/48] Compiling Async EventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Deprecated.swift:3:5: warning: 'public' modifier is redundant for static property declared in a public extension
1 | public extension DirectoryConfig {
2 | @available(*, deprecated, renamed: "detect")
3 | public static var `default`: () -> DirectoryConfig {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
4 | return DirectoryConfig.detect
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/EventLoop.swift:87:17: warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | if #available(OSX 10.12, *) {
86 | Thread.detachNewThread {
87 | work()
| |- warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | }
89 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[29/48] Compiling Async EventLoopTimeout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Deprecated.swift:3:5: warning: 'public' modifier is redundant for static property declared in a public extension
1 | public extension DirectoryConfig {
2 | @available(*, deprecated, renamed: "detect")
3 | public static var `default`: () -> DirectoryConfig {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
4 | return DirectoryConfig.detect
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/EventLoop.swift:87:17: warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | if #available(OSX 10.12, *) {
86 | Thread.detachNewThread {
87 | work()
| |- warning: capture of 'work' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | }
89 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[30/48] Compiling Async Future+Transform.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Transform.swift:5:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
3 | ///
4 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
5 | public func transform<T>(to instance: T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | return self.map(to: T.self) { _ in
7 | instance
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Unwrap.swift:4:5: warning: 'public' modifier is redundant for instance method declared in a public extension
2 | /// Unwraps an optional value contained inside a Future's expectation.
3 | /// If the optional resolves to `nil` (`.none`), the supplied error will be thrown instead.
4 | public func unwrap(or error: Error) -> Future<Expectation.WrappedType> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return map(to: Expectation.WrappedType.self) { optional in
6 | guard let wrapped = optional.wrapped else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:28:36: error: cannot infer contextual base in reference to member 'expectation'
26 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
27 | public init(_ result: T) {
28 | self.storage = .completed(.expectation(result))
| `- error: cannot infer contextual base in reference to member 'expectation'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:35:36: error: cannot infer contextual base in reference to member 'error'
33 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
34 | public init(error: Error) {
35 | self.storage = .completed(.error(error))
| `- error: cannot infer contextual base in reference to member 'error'
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:45:25: error: '_' can only appear in a pattern or on the left side of an assignment
43 | public var isCompleted: Bool {
44 | switch storage {
45 | case .completed(_): return true
| `- error: '_' can only appear in a pattern or on the left side of an assignment
46 | case .promise(let promise): return promise.isCompleted
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:53:21: error: reference to generic type 'Result' requires arguments in <...>
51 | /// on the `EventLoop`.
52 | public func await(on worker: Worker) throws -> Expectation {
53 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
54 |
55 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:76:21: error: reference to generic type 'Result' requires arguments in <...>
74 | /// Throws an error if the future wasn't completed or contains an error
75 | public func requireCompleted() throws -> Expectation {
76 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
77 |
78 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[31/48] Compiling Async Future+Unwrap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Transform.swift:5:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
3 | ///
4 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
5 | public func transform<T>(to instance: T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | return self.map(to: T.self) { _ in
7 | instance
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Unwrap.swift:4:5: warning: 'public' modifier is redundant for instance method declared in a public extension
2 | /// Unwraps an optional value contained inside a Future's expectation.
3 | /// If the optional resolves to `nil` (`.none`), the supplied error will be thrown instead.
4 | public func unwrap(or error: Error) -> Future<Expectation.WrappedType> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return map(to: Expectation.WrappedType.self) { optional in
6 | guard let wrapped = optional.wrapped else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:28:36: error: cannot infer contextual base in reference to member 'expectation'
26 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
27 | public init(_ result: T) {
28 | self.storage = .completed(.expectation(result))
| `- error: cannot infer contextual base in reference to member 'expectation'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:35:36: error: cannot infer contextual base in reference to member 'error'
33 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
34 | public init(error: Error) {
35 | self.storage = .completed(.error(error))
| `- error: cannot infer contextual base in reference to member 'error'
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:45:25: error: '_' can only appear in a pattern or on the left side of an assignment
43 | public var isCompleted: Bool {
44 | switch storage {
45 | case .completed(_): return true
| `- error: '_' can only appear in a pattern or on the left side of an assignment
46 | case .promise(let promise): return promise.isCompleted
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:53:21: error: reference to generic type 'Result' requires arguments in <...>
51 | /// on the `EventLoop`.
52 | public func await(on worker: Worker) throws -> Expectation {
53 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
54 |
55 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:76:21: error: reference to generic type 'Result' requires arguments in <...>
74 | /// Throws an error if the future wasn't completed or contains an error
75 | public func requireCompleted() throws -> Expectation {
76 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
77 |
78 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[32/48] Compiling Async Future.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Transform.swift:5:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
3 | ///
4 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
5 | public func transform<T>(to instance: T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | return self.map(to: T.self) { _ in
7 | instance
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Unwrap.swift:4:5: warning: 'public' modifier is redundant for instance method declared in a public extension
2 | /// Unwraps an optional value contained inside a Future's expectation.
3 | /// If the optional resolves to `nil` (`.none`), the supplied error will be thrown instead.
4 | public func unwrap(or error: Error) -> Future<Expectation.WrappedType> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return map(to: Expectation.WrappedType.self) { optional in
6 | guard let wrapped = optional.wrapped else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:28:36: error: cannot infer contextual base in reference to member 'expectation'
26 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
27 | public init(_ result: T) {
28 | self.storage = .completed(.expectation(result))
| `- error: cannot infer contextual base in reference to member 'expectation'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:35:36: error: cannot infer contextual base in reference to member 'error'
33 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
34 | public init(error: Error) {
35 | self.storage = .completed(.error(error))
| `- error: cannot infer contextual base in reference to member 'error'
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:45:25: error: '_' can only appear in a pattern or on the left side of an assignment
43 | public var isCompleted: Bool {
44 | switch storage {
45 | case .completed(_): return true
| `- error: '_' can only appear in a pattern or on the left side of an assignment
46 | case .promise(let promise): return promise.isCompleted
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:53:21: error: reference to generic type 'Result' requires arguments in <...>
51 | /// on the `EventLoop`.
52 | public func await(on worker: Worker) throws -> Expectation {
53 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
54 |
55 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:76:21: error: reference to generic type 'Result' requires arguments in <...>
74 | /// Throws an error if the future wasn't completed or contains an error
75 | public func requireCompleted() throws -> Expectation {
76 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
77 |
78 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[33/48] Compiling Async FutureResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Transform.swift:5:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
3 | ///
4 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
5 | public func transform<T>(to instance: T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | return self.map(to: T.self) { _ in
7 | instance
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Unwrap.swift:4:5: warning: 'public' modifier is redundant for instance method declared in a public extension
2 | /// Unwraps an optional value contained inside a Future's expectation.
3 | /// If the optional resolves to `nil` (`.none`), the supplied error will be thrown instead.
4 | public func unwrap(or error: Error) -> Future<Expectation.WrappedType> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return map(to: Expectation.WrappedType.self) { optional in
6 | guard let wrapped = optional.wrapped else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:28:36: error: cannot infer contextual base in reference to member 'expectation'
26 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
27 | public init(_ result: T) {
28 | self.storage = .completed(.expectation(result))
| `- error: cannot infer contextual base in reference to member 'expectation'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:35:36: error: cannot infer contextual base in reference to member 'error'
33 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
34 | public init(error: Error) {
35 | self.storage = .completed(.error(error))
| `- error: cannot infer contextual base in reference to member 'error'
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:45:25: error: '_' can only appear in a pattern or on the left side of an assignment
43 | public var isCompleted: Bool {
44 | switch storage {
45 | case .completed(_): return true
| `- error: '_' can only appear in a pattern or on the left side of an assignment
46 | case .promise(let promise): return promise.isCompleted
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:53:21: error: reference to generic type 'Result' requires arguments in <...>
51 | /// on the `EventLoop`.
52 | public func await(on worker: Worker) throws -> Expectation {
53 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
54 |
55 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:76:21: error: reference to generic type 'Result' requires arguments in <...>
74 | /// Throws an error if the future wasn't completed or contains an error
75 | public func requireCompleted() throws -> Expectation {
76 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
77 |
78 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[34/48] Compiling Async FutureType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Transform.swift:5:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
3 | ///
4 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#mapping-results)
5 | public func transform<T>(to instance: T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | return self.map(to: T.self) { _ in
7 | instance
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:11:22: note: 'T' previously declared here
9 | ///
10 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/)
11 | public struct Future<T>: FutureType {
| `- note: 'T' previously declared here
12 | /// Future expectation type
13 | public typealias Expectation = T
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future+Unwrap.swift:4:5: warning: 'public' modifier is redundant for instance method declared in a public extension
2 | /// Unwraps an optional value contained inside a Future's expectation.
3 | /// If the optional resolves to `nil` (`.none`), the supplied error will be thrown instead.
4 | public func unwrap(or error: Error) -> Future<Expectation.WrappedType> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
5 | return map(to: Expectation.WrappedType.self) { optional in
6 | guard let wrapped = optional.wrapped else {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:28:36: error: cannot infer contextual base in reference to member 'expectation'
26 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
27 | public init(_ result: T) {
28 | self.storage = .completed(.expectation(result))
| `- error: cannot infer contextual base in reference to member 'expectation'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:35:36: error: cannot infer contextual base in reference to member 'error'
33 | /// [Learn More →](https://docs.vapor.codes/3.0/async/promise-future-introduction/#futures-without-promise)
34 | public init(error: Error) {
35 | self.storage = .completed(.error(error))
| `- error: cannot infer contextual base in reference to member 'error'
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:45:25: error: '_' can only appear in a pattern or on the left side of an assignment
43 | public var isCompleted: Bool {
44 | switch storage {
45 | case .completed(_): return true
| `- error: '_' can only appear in a pattern or on the left side of an assignment
46 | case .promise(let promise): return promise.isCompleted
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:53:21: error: reference to generic type 'Result' requires arguments in <...>
51 | /// on the `EventLoop`.
52 | public func await(on worker: Worker) throws -> Expectation {
53 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
54 |
55 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:76:21: error: reference to generic type 'Result' requires arguments in <...>
74 | /// Throws an error if the future wasn't completed or contains an error
75 | public func requireCompleted() throws -> Expectation {
76 | let result: Result
| `- error: reference to generic type 'Result' requires arguments in <...>
77 |
78 | switch storage {
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[35/48] Compiling Async EventSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift:167:1: warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
165 | let NOTE_FFCOPY = Darwin.NOTE_FFCOPY
166 |
167 | extension kevent: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
168 | public var description: String {
169 | var flags: [String] = []
[36/48] Compiling Async Future+EventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift:167:1: warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
165 | let NOTE_FFCOPY = Darwin.NOTE_FFCOPY
166 |
167 | extension kevent: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
168 | public var description: String {
169 | var flags: [String] = []
[37/48] Compiling Async KqueueEventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift:167:1: warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
165 | let NOTE_FFCOPY = Darwin.NOTE_FFCOPY
166 |
167 | extension kevent: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
168 | public var description: String {
169 | var flags: [String] = []
[38/48] Compiling Async KqueueEventSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift:167:1: warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
165 | let NOTE_FFCOPY = Darwin.NOTE_FFCOPY
166 |
167 | extension kevent: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
168 | public var description: String {
169 | var flags: [String] = []
[39/48] Compiling Async Worker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift:167:1: warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
165 | let NOTE_FFCOPY = Darwin.NOTE_FFCOPY
166 |
167 | extension kevent: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'kevent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
168 | public var description: String {
169 | var flags: [String] = []
[40/48] Compiling Async DirectoryConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[41/48] Compiling Async File.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[42/48] Compiling Async FileCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[43/48] Compiling Async FileReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[44/48] Compiling Async Future+BlockingAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[45/48] Compiling Async SocketSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:6:22: warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
4 |
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
7 | public typealias Output = UnsafeBufferPointer<UInt8>
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/InputStream.swift:16:20: note: 'Input' declared here
14 | public protocol InputStream {
15 | /// The type of element signaled.
16 | associatedtype Input
| `- note: 'Input' declared here
17 |
18 | /// Data notification sent by the `OutputStream` in response to requests to `OutputRequest.requestOutput`.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:7:22: warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
7 | public typealias Output = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/OutputStream.swift:11:20: note: 'Output' declared here
9 | public protocol OutputStream: class {
10 | /// The type of element signaled.
11 | associatedtype Output
| `- note: 'Output' declared here
12 |
13 | /// Request Publisher to start streaming data.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[46/48] Compiling Async SocketSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:6:22: warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
4 |
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
7 | public typealias Output = UnsafeBufferPointer<UInt8>
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/InputStream.swift:16:20: note: 'Input' declared here
14 | public protocol InputStream {
15 | /// The type of element signaled.
16 | associatedtype Input
| `- note: 'Input' declared here
17 |
18 | /// Data notification sent by the `OutputStream` in response to requests to `OutputRequest.requestOutput`.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:7:22: warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
7 | public typealias Output = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/OutputStream.swift:11:20: note: 'Output' declared here
9 | public protocol OutputStream: class {
10 | /// The type of element signaled.
11 | associatedtype Output
| `- note: 'Output' declared here
12 |
13 | /// Request Publisher to start streaming data.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[47/48] Compiling Async SocketStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:6:22: warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
4 |
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
7 | public typealias Output = UnsafeBufferPointer<UInt8>
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/InputStream.swift:16:20: note: 'Input' declared here
14 | public protocol InputStream {
15 | /// The type of element signaled.
16 | associatedtype Input
| `- note: 'Input' declared here
17 |
18 | /// Data notification sent by the `OutputStream` in response to requests to `OutputRequest.requestOutput`.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:7:22: warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
7 | public typealias Output = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/OutputStream.swift:11:20: note: 'Output' declared here
9 | public protocol OutputStream: class {
10 | /// The type of element signaled.
11 | associatedtype Output
| `- note: 'Output' declared here
12 |
13 | /// Request Publisher to start streaming data.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
[48/48] Compiling Async ByteParserStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:6:22: warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
4 |
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Input' from protocol 'InputStream' is better expressed as same-type constraint on the protocol
7 | public typealias Output = UnsafeBufferPointer<UInt8>
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/InputStream.swift:16:20: note: 'Input' declared here
14 | public protocol InputStream {
15 | /// The type of element signaled.
16 | associatedtype Input
| `- note: 'Input' declared here
17 |
18 | /// Data notification sent by the `OutputStream` in response to requests to `OutputRequest.requestOutput`.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Socket/SocketStream.swift:7:22: warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
5 | extension ByteStream {
6 | public typealias Input = UnsafeBufferPointer<UInt8>
7 | public typealias Output = UnsafeBufferPointer<UInt8>
| `- warning: typealias overriding associated type 'Output' from protocol 'OutputStream' is better expressed as same-type constraint on the protocol
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Async/Streams/OutputStream.swift:11:20: note: 'Output' declared here
9 | public protocol OutputStream: class {
10 | /// The type of element signaled.
11 | associatedtype Output
| `- note: 'Output' declared here
12 |
13 | /// Request Publisher to start streaming data.
/Users/admin/builder/spi-builder-workspace/Sources/Async/Futures/Future.swift:16:24: error: reference to generic type 'Result' requires arguments in <...>
14 |
15 | enum Storage {
16 | case completed(Result)
| `- error: reference to generic type 'Result' requires arguments in <...>
17 | case promise(Promise<T>)
18 | }
Swift.Result:1:21: note: generic type 'Result' declared here
1 | @frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable {
| `- note: generic type 'Result' declared here
2 | case success(Success)
3 | case failure(Failure)
BUILD FAILURE 6.0 macosSpm