Build Information
Failed to build SwiftNIOMock, reference 0.0.1 (003b5c
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 10:51:02 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/ilyapuchka/SwiftNIOMock.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ilyapuchka/SwiftNIOMock
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 003b5c5 updated README
Cloned https://github.com/ilyapuchka/SwiftNIOMock.git
Revision (git rev-parse @):
003b5c59e7a6ea414953f018c5d5d763f3877751
SUCCESS checkout https://github.com/ilyapuchka/SwiftNIOMock.git at 0.0.1
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio.git
[1/15] Fetching swift-nio-zlib-support
[16/71112] Fetching swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.54s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.12.0 (0.71s)
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 (0.67s)
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.12.0
========================================
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": "swiftniomock",
"name": "SwiftNIOMock",
"url": "https://github.com/ilyapuchka/SwiftNIOMock.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftNIOMock",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/ilyapuchka/SwiftNIOMock.git
[1/428] Fetching swiftniomock
Fetched https://github.com/ilyapuchka/SwiftNIOMock.git from cache (0.81s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.81s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.03s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.54s)
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 (0.02s)
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/ilyapuchka/SwiftNIOMock.git
Working copy of https://github.com/ilyapuchka/SwiftNIOMock.git resolved at 0.0.1 (003b5c5)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: '.resolve-product-dependencies': dependency 'swiftniomock' is not used by any target
Found 1 product dependencies
- swift-nio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ilyapuchka/SwiftNIOMock.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/13] Write sources
[5/13] Write swift-version--7754E27361AE5C74.txt
[6/13] Compiling CNIOZlib empty.c
[6/13] Compiling CNIOLinux ifaddrs-android.c
[8/13] Compiling CNIOLinux shim.c
[9/16] Compiling CNIOHTTPParser c_nio_http_parser.c
[10/16] Compiling CNIODarwin shim.c
[11/16] Compiling CNIOSHA1 c_nio_sha1.c
[12/16] Compiling c-atomics.c
[14/19] Compiling NIOPriorityQueue PriorityQueue.swift
[15/19] Emitting module NIOPriorityQueue
[16/19] Compiling NIOPriorityQueue Heap.swift
[17/19] Compiling NIOConcurrencyHelpers lock.swift
[18/19] Emitting module NIOConcurrencyHelpers
[19/19] Compiling NIOConcurrencyHelpers atomics.swift
[20/70] Compiling NIO IOData.swift
[21/70] Compiling NIO IntegerTypes.swift
[22/70] Compiling NIO Interfaces.swift
[23/70] Compiling NIO Linux.swift
[24/70] Compiling NIO LinuxCPUSet.swift
[25/70] Compiling NIO ByteBuffer-core.swift
[26/70] Compiling NIO ByteBuffer-int.swift
[27/70] Compiling NIO ByteBuffer-views.swift
[28/70] Compiling NIO Channel.swift
[29/70] Compiling NIO ChannelHandler.swift
[30/70] Compiling NIO ChannelHandlers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/75] Emitting module NIO
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
[32/75] Compiling NIO MarkedCircularBuffer.swift
[33/75] Compiling NIO MulticastChannel.swift
[34/75] Compiling NIO NIOAny.swift
[35/75] Compiling NIO NonBlockingFileIO.swift
[36/75] Compiling NIO PendingDatagramWritesManager.swift
[37/75] Compiling NIO PendingWritesManager.swift
[38/75] Compiling NIO PriorityQueue.swift
[39/75] Compiling NIO RecvByteBufferAllocator.swift
[40/75] Compiling NIO Resolver.swift
[41/75] Compiling NIO Selectable.swift
[42/75] Compiling NIO ChannelInvoker.swift
[43/75] Compiling NIO ChannelOption.swift
[44/75] Compiling NIO ChannelPipeline.swift
[45/75] Compiling NIO CircularBuffer.swift
[46/75] Compiling NIO Codec.swift
[47/75] Compiling NIO CompositeError.swift
[48/75] Compiling NIO FileHandle.swift
[49/75] Compiling NIO FileRegion.swift
[50/75] Compiling NIO GetaddrinfoResolver.swift
[51/75] Compiling NIO HappyEyeballs.swift
[52/75] Compiling NIO Heap.swift
[53/75] Compiling NIO IO.swift
[54/75] Compiling NIO ContiguousCollection.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
[55/75] Compiling NIO DeadChannel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
[56/75] Compiling NIO Embedded.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
[57/75] Compiling NIO EventLoop.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
[58/75] Compiling NIO EventLoopFuture.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
[59/75] Compiling NIO FileDescriptor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
19 | }
20 |
21 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
22 | public typealias Element = UInt8
23 | public typealias SubSequence = ArraySlice<UInt8>
Swift.Collection:3:12: note: 'subscript(_:)' declared here
1 | extension Collection {
2 | @available(*, unavailable)
3 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: 'subscript(_:)' declared here
4 | }
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
13 | subscript(position: Self.Index) -> Self.Element { get }
14 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
| `- note: requirement 'subscript(_:)' declared here
15 | associatedtype Indices : Collection = DefaultIndices<Self> where Self.Indices == Self.Indices.SubSequence
16 | var indices: Self.Indices { get }
[60/75] Compiling NIO AddressedEnvelope.swift
[61/75] Compiling NIO BaseSocket.swift
[62/75] Compiling NIO BaseSocketChannel.swift
[63/75] Compiling NIO BlockingIOThreadPool.swift
[64/75] Compiling NIO Bootstrap.swift
[65/75] Compiling NIO ByteBuffer-aux.swift
[66/75] Compiling NIO Selector.swift
[67/75] Compiling NIO ServerSocket.swift
[68/75] Compiling NIO Socket.swift
[69/75] Compiling NIO SocketAddresses.swift
[70/75] Compiling NIO SocketChannel.swift
[71/75] Compiling NIO SocketOptionProvider.swift
[72/75] Compiling NIO System.swift
[73/75] Compiling NIO Thread.swift
[74/75] Compiling NIO TypeAssistedChannelHandler.swift
[75/75] Compiling NIO Utilities.swift
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
BUILD FAILURE 6.0 macosSpm