Build Information
Failed to build SwiftNIOMock, reference master (cc14a0
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 00:29:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ilyapuchka/SwiftNIOMock.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/ilyapuchka/SwiftNIOMock
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cc14a07 update readme
Cloned https://github.com/ilyapuchka/SwiftNIOMock.git
Revision (git rev-parse @):
cc14a07e137597194d439cfbb3ca7b6b99701ccb
SUCCESS checkout https://github.com/ilyapuchka/SwiftNIOMock.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/ilyapuchka/SwiftNIOMock.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/ilyapuchka/URLFormat.git
[1/118] Fetching urlformat
Fetched https://github.com/ilyapuchka/URLFormat.git from cache (0.91s)
Fetching https://github.com/ilyapuchka/common-parsers.git
[1/72] Fetching common-parsers
Fetched https://github.com/ilyapuchka/common-parsers.git from cache (0.31s)
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3298] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.34s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (5.84s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (1.19s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (2.03s)
Creating working copy for https://github.com/ilyapuchka/common-parsers.git
Working copy of https://github.com/ilyapuchka/common-parsers.git resolved at master (fb6f45c)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at master (b4ceef2)
Creating working copy for https://github.com/ilyapuchka/URLFormat.git
Working copy of https://github.com/ilyapuchka/URLFormat.git resolved at master (0f50393)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/16] Write sources
[8/16] Compiling CNIODarwin shim.c
[8/16] Compiling CNIOLinux ifaddrs-android.c
[10/16] Compiling CNIOZlib empty.c
[11/16] Compiling CNIOSHA1 c_nio_sha1.c
[12/16] Compiling CNIOLinux shim.c
[12/16] Write swift-version-24593BA9C3E375BF.txt
[14/19] Compiling CNIOHTTPParser c_nio_http_parser.c
[15/52] Compiling c-atomics.c
[17/55] Compiling NIOPriorityQueue PriorityQueue.swift
[18/55] Compiling Prelude NearSemiring.swift
[19/55] Compiling Prelude Never.swift
[20/55] Compiling Prelude Operators.swift
[21/55] Compiling Prelude Optional.swift
[22/59] Compiling Prelude Semigroup.swift
[23/59] Compiling Prelude Semiring.swift
[24/59] Compiling Prelude Sequence.swift
[25/59] Compiling Prelude Set.swift
[26/59] Compiling Prelude Field.swift
[27/59] Compiling Prelude Filterable.swift
[28/59] Compiling Prelude FreeNearSemiring.swift
[29/59] Compiling Prelude Func.swift
[30/59] Compiling Prelude Function.swift
[31/59] Compiling Prelude Parallel.swift
[32/59] Compiling Prelude Plus.swift
[33/59] Compiling Prelude PrecedenceGroups.swift
[34/59] Compiling Prelude Ring.swift
[35/59] Emitting module Prelude
[36/59] Compiling Prelude Alt.swift
[37/59] Compiling Prelude Array.swift
[38/59] Compiling Prelude Collection.swift
[39/59] Compiling Prelude CommutativeRing.swift
[40/59] Compiling Prelude Comparable.swift
[41/59] Compiling Prelude Comparator.swift
[42/59] Compiling Prelude Curry.swift
[43/59] Compiling Prelude Endo.swift
[44/59] Compiling Prelude Equatable.swift
[45/59] Compiling Prelude EuclideanRing.swift
[46/59] Compiling Prelude String.swift
[47/59] Compiling Prelude Strong.swift
[48/59] Compiling Prelude Tuple.swift
[49/59] Compiling Prelude Unit.swift
[50/59] Compiling Prelude HeytingAlgebra.swift
[51/59] Compiling Prelude Hole.swift
[52/59] Compiling Prelude IO.swift
[53/59] Compiling Prelude KeyPath.swift
[54/59] Compiling Prelude Monoid.swift
[56/60] Compiling NIOConcurrencyHelpers atomics.swift
[57/60] Compiling NIOConcurrencyHelpers lock.swift
[58/60] Emitting module NIOConcurrencyHelpers
[60/61] Emitting module NIOPriorityQueue
[61/61] Compiling NIOPriorityQueue Heap.swift
[63/119] Compiling CommonParsers Format.swift
[64/119] Emitting module CommonParsers
[65/119] Compiling CommonParsers Parser.swift
[66/119] Compiling CommonParsers Parenthesize.swift
[67/119] Compiling CommonParsers Template.swift
[68/119] Compiling CommonParsers Matchable.swift
[69/119] Compiling CommonParsers PartialIso.swift
[71/122] Emitting module URLFormat
[72/122] Emitting module NIO
[73/128] Compiling NIO ByteBuffer-int.swift
[74/128] Compiling NIO ByteBuffer-views.swift
[75/128] Compiling NIO Channel.swift
[76/128] Compiling NIO ChannelHandler.swift
[77/128] Compiling NIO ChannelHandlers.swift
[78/128] Compiling NIO ChannelInvoker.swift
[79/128] Compiling NIO ChannelOption.swift
[80/128] Compiling URLFormat URLFormat.swift
[82/129] Compiling NIO AddressedEnvelope.swift
[83/129] Compiling NIO BaseSocket.swift
[84/129] Compiling NIO BaseSocketChannel.swift
[85/129] Compiling NIO BlockingIOThreadPool.swift
[86/129] Compiling NIO Bootstrap.swift
[87/129] Compiling NIO ByteBuffer-aux.swift
[88/129] Compiling NIO ByteBuffer-core.swift
[89/129] Compiling NIO ChannelPipeline.swift
[90/129] Compiling NIO CircularBuffer.swift
[91/129] Compiling NIO Codec.swift
[92/129] Compiling NIO CompositeError.swift
[93/129] Compiling NIO ContiguousCollection.swift
[94/129] Compiling NIO DeadChannel.swift
[95/129] Compiling NIO Embedded.swift
[96/129] Compiling NIO Heap.swift
[97/129] Compiling NIO IO.swift
[98/129] Compiling NIO IOData.swift
[99/129] Compiling NIO IntegerTypes.swift
[100/129] Compiling NIO Interfaces.swift
[101/129] Compiling NIO Linux.swift
[102/129] Compiling NIO LinuxCPUSet.swift
[103/129] Compiling NIO EventLoop.swift
[104/129] Compiling NIO EventLoopFuture.swift
[105/129] Compiling NIO FileDescriptor.swift
[106/129] Compiling NIO FileHandle.swift
[107/129] Compiling NIO FileRegion.swift
[108/129] Compiling NIO GetaddrinfoResolver.swift
[109/129] Compiling NIO HappyEyeballs.swift
[110/129] Compiling NIO RecvByteBufferAllocator.swift
[111/129] Compiling NIO Resolver.swift
[112/129] Compiling NIO Selectable.swift
[113/129] Compiling NIO Selector.swift
[114/129] Compiling NIO ServerSocket.swift
[115/129] Compiling NIO Socket.swift
[116/129] Compiling NIO SocketAddresses.swift
[117/129] Compiling NIO MarkedCircularBuffer.swift
[118/129] Compiling NIO MulticastChannel.swift
[119/129] Compiling NIO NIOAny.swift
[120/129] Compiling NIO NonBlockingFileIO.swift
[121/129] Compiling NIO PendingDatagramWritesManager.swift
[122/129] Compiling NIO PendingWritesManager.swift
[123/129] Compiling NIO PriorityQueue.swift
[124/129] Compiling NIO SocketChannel.swift
[125/129] Compiling NIO SocketOptionProvider.swift
[126/129] Compiling NIO System.swift
[127/129] Compiling NIO Thread.swift
[128/129] Compiling NIO TypeAssistedChannelHandler.swift
[129/129] Compiling NIO Utilities.swift
[131/139] Compiling NIOHTTP1 HTTPEncoder.swift
[132/140] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[133/140] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[134/140] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[135/140] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[136/140] Compiling NIOHTTP1 HTTPTypes.swift
[137/140] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[138/140] Emitting module NIOHTTP1
[139/140] Compiling NIOHTTP1 ByteCollectionUtils.swift
[140/140] Compiling NIOHTTP1 HTTPDecoder.swift
[142/145] Compiling SwiftNIOMock Server.swift
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:215:11: error: cannot find type 'URLRequest' in scope
213 | }
214 |
215 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
216 | public init(_ request: Server.HTTPHandler.Request) {
217 | let url = URL(string: request.head.uri)!
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:253:18: error: cannot find type 'NSURLRequest' in scope
251 | public func redirect(
252 | session: URLSession = URLSession.shared,
253 | cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalAndRemoteCacheData,
| `- error: cannot find type 'NSURLRequest' in scope
254 | request redirect: @escaping (Server.HTTPHandler.Request) -> Server.HTTPHandler.Request,
255 | response intercept: @escaping (Server.HTTPHandler.Response) -> Void = { _ in }
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:252:14: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
250 | /// Middleware that allows to redirect incomming request and intercept responses
251 | public func redirect(
252 | session: URLSession = URLSession.shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
253 | cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalAndRemoteCacheData,
254 | request redirect: @escaping (Server.HTTPHandler.Request) -> Server.HTTPHandler.Request,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:252:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
250 | /// Middleware that allows to redirect incomming request and intercept responses
251 | public func redirect(
252 | session: URLSession = URLSession.shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
253 | cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalAndRemoteCacheData,
254 | request redirect: @escaping (Server.HTTPHandler.Request) -> Server.HTTPHandler.Request,
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:258:24: error: cannot find 'URLRequest' in scope
256 | ) -> Middleware {
257 | return { request, response, next in
258 | var redirect = URLRequest(redirect(request))
| `- error: cannot find 'URLRequest' in scope
259 | redirect.cachePolicy = cachePolicy
260 |
[143/145] Compiling SwiftNIOMock Service.swift
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:39:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
37 | }
38 |
39 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
40 | public struct ServiceRouterBuilder {
41 | public typealias RouteClosure<S: Service> = (S) -> Middleware
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:58:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
56 | }
57 |
58 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
59 | public struct RouterBuilder {
60 | public static func buildBlock(_ items: Middleware...) -> Middleware {
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:22:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
20 | }
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:23:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:24:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:25:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
27 |
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:26:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
27 |
28 | public extension ServiceProtocol where Self: Service {
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/145] Emitting module SwiftNIOMock
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:39:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
37 | }
38 |
39 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
40 | public struct ServiceRouterBuilder {
41 | public typealias RouteClosure<S: Service> = (S) -> Middleware
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:58:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
56 | }
57 |
58 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
59 | public struct RouterBuilder {
60 | public static func buildBlock(_ items: Middleware...) -> Middleware {
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:215:11: error: cannot find type 'URLRequest' in scope
213 | }
214 |
215 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
216 | public init(_ request: Server.HTTPHandler.Request) {
217 | let url = URL(string: request.head.uri)!
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:253:18: error: cannot find type 'NSURLRequest' in scope
251 | public func redirect(
252 | session: URLSession = URLSession.shared,
253 | cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalAndRemoteCacheData,
| `- error: cannot find type 'NSURLRequest' in scope
254 | request redirect: @escaping (Server.HTTPHandler.Request) -> Server.HTTPHandler.Request,
255 | response intercept: @escaping (Server.HTTPHandler.Response) -> Void = { _ in }
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:252:14: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
250 | /// Middleware that allows to redirect incomming request and intercept responses
251 | public func redirect(
252 | session: URLSession = URLSession.shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
253 | cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalAndRemoteCacheData,
254 | request redirect: @escaping (Server.HTTPHandler.Request) -> Server.HTTPHandler.Request,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNIOMock/Server.swift:252:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
250 | /// Middleware that allows to redirect incomming request and intercept responses
251 | public func redirect(
252 | session: URLSession = URLSession.shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
253 | cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalAndRemoteCacheData,
254 | request redirect: @escaping (Server.HTTPHandler.Request) -> Server.HTTPHandler.Request,
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:22:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
20 | }
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:23:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:24:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:25:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
27 |
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
/host/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:26:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
| `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
27 |
28 | public extension ServiceProtocol where Self: Service {
/host/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
1 | public struct Unit: Codable {}
| `- note: struct declared here
2 |
3 | public let unit = Unit()
[145/145] Compiling SwiftNIOMock Router.swift
BUILD FAILURE 6.2 linux