Build Information
Failed to build MicroExpress, reference master (6cdd4c
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 19:05:36 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/MicroExpress.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/helje5/MicroExpress
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6cdd4cb Create LICENSE
Cloned https://github.com/helje5/MicroExpress.git
Revision (git rev-parse @):
6cdd4cbd284fb08fe49464330ff3674465973d73
SUCCESS checkout https://github.com/helje5/MicroExpress.git at master
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio.git
[3/15] Fetching swift-nio-zlib-support
[16/72014] Fetching swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.49s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.1.0 (0.59s)
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.55s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.1.0
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
========================================
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": "microexpress",
"name": "MicroExpress",
"url": "https://github.com/helje5/MicroExpress.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MicroExpress",
"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/helje5/MicroExpress.git
[1/259] Fetching microexpress
Fetched https://github.com/helje5/MicroExpress.git from cache (0.73s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.59s)
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.47s)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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/helje5/MicroExpress.git
Working copy of https://github.com/helje5/MicroExpress.git resolved at master (6cdd4cb)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: '.resolve-product-dependencies': dependency 'microexpress' 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/helje5/MicroExpress.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/11] Write sources
[5/11] Compiling CNIOZlib empty.c
[6/11] Compiling CNIOLinux shim.c
[7/11] Write swift-version--7754E27361AE5C74.txt
[8/14] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/14] Compiling CNIODarwin shim.c
[10/14] Compiling c-atomics.c
[12/17] Compiling NIOPriorityQueue PriorityQueue.swift
[13/17] Compiling NIOPriorityQueue Heap.swift
[14/17] Emitting module NIOPriorityQueue
[15/17] Compiling NIOConcurrencyHelpers lock.swift
[16/17] Compiling NIOConcurrencyHelpers atomics.swift
[17/17] Emitting module NIOConcurrencyHelpers
[18/61] Compiling NIO RecvByteBufferAllocator.swift
[19/61] Compiling NIO Resolver.swift
[20/61] Compiling NIO Selectable.swift
[21/61] Compiling NIO Selector.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/65] Emitting module NIO
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: type 'StaticString' does not conform to protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
576 | public typealias Element = UInt8
577 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
576 | public typealias Element = UInt8
577 | 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 }
[23/65] Compiling NIO MarkedCircularBuffer.swift
[24/65] Compiling NIO NIOAny.swift
[25/65] Compiling NIO NonBlockingFileIO.swift
[26/65] Compiling NIO PendingDatagramWritesManager.swift
[27/65] Compiling NIO PendingWritesManager.swift
[28/65] Compiling NIO IO.swift
[29/65] Compiling NIO IOData.swift
[30/65] Compiling NIO Interfaces.swift
[31/65] Compiling NIO Linux.swift
[32/65] Compiling NIO LinuxCPUSet.swift
[33/65] Compiling NIO System.swift
[34/65] Compiling NIO Thread.swift
[35/65] Compiling NIO TypeAssistedChannelHandler.swift
[36/65] Compiling NIO Utilities.swift
[37/65] Compiling NIO AddressedEnvelope.swift
[38/65] Compiling NIO BaseSocket.swift
[39/65] Compiling NIO BlockingIOThreadPool.swift
[40/65] Compiling NIO Bootstrap.swift
[41/65] Compiling NIO ByteBuffer-aux.swift
[42/65] Compiling NIO ChannelInvoker.swift
[43/65] Compiling NIO ChannelOption.swift
[44/65] Compiling NIO ChannelPipeline.swift
[45/65] Compiling NIO CircularBuffer.swift
[46/65] Compiling NIO Codec.swift
[47/65] Compiling NIO ByteBuffer-core.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: type 'StaticString' does not conform to protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
576 | public typealias Element = UInt8
577 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
576 | public typealias Element = UInt8
577 | 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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
40 | /// many places.
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
43 | hookedRealloc: { sysRealloc($0, $1) },
44 | hookedFree: { sysFree($0) },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
43 | hookedRealloc: { sysRealloc($0, $1) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | hookedFree: { sysFree($0) },
45 | hookedMemcpy: { $0.copyMemory(from: $1, byteCount: $2) })
[48/65] Compiling NIO ByteBuffer-int.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: type 'StaticString' does not conform to protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
576 | public typealias Element = UInt8
577 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
576 | public typealias Element = UInt8
577 | 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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
40 | /// many places.
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
43 | hookedRealloc: { sysRealloc($0, $1) },
44 | hookedFree: { sysFree($0) },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
43 | hookedRealloc: { sysRealloc($0, $1) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | hookedFree: { sysFree($0) },
45 | hookedMemcpy: { $0.copyMemory(from: $1, byteCount: $2) })
[49/65] Compiling NIO Channel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: type 'StaticString' does not conform to protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
576 | public typealias Element = UInt8
577 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
576 | public typealias Element = UInt8
577 | 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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
40 | /// many places.
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
43 | hookedRealloc: { sysRealloc($0, $1) },
44 | hookedFree: { sysFree($0) },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
43 | hookedRealloc: { sysRealloc($0, $1) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | hookedFree: { sysFree($0) },
45 | hookedMemcpy: { $0.copyMemory(from: $1, byteCount: $2) })
[50/65] Compiling NIO ChannelHandler.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: type 'StaticString' does not conform to protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
576 | public typealias Element = UInt8
577 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
576 | public typealias Element = UInt8
577 | 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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
40 | /// many places.
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
43 | hookedRealloc: { sysRealloc($0, $1) },
44 | hookedFree: { sysFree($0) },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
43 | hookedRealloc: { sysRealloc($0, $1) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | hookedFree: { sysFree($0) },
45 | hookedMemcpy: { $0.copyMemory(from: $1, byteCount: $2) })
[51/65] Compiling NIO ChannelHandlers.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: type 'StaticString' does not conform to protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: type 'StaticString' does not conform to protocol 'Collection'
576 | public typealias Element = UInt8
577 | public typealias SubSequence = ArraySlice<UInt8>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
573 | }
574 |
575 | extension StaticString: Collection {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
576 | public typealias Element = UInt8
577 | 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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
40 | /// many places.
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
43 | hookedRealloc: { sysRealloc($0, $1) },
44 | hookedFree: { sysFree($0) },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
41 | public init() {
42 | self.init(hookedMalloc: { sysMalloc($0) },
43 | hookedRealloc: { sysRealloc($0, $1) },
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | hookedFree: { sysFree($0) },
45 | hookedMemcpy: { $0.copyMemory(from: $1, byteCount: $2) })
[52/65] Compiling NIO CompositeError.swift
[53/65] Compiling NIO DeadChannel.swift
[54/65] Compiling NIO Embedded.swift
[55/65] Compiling NIO EventLoop.swift
[56/65] Compiling NIO EventLoopFuture.swift
[57/65] Compiling NIO FileDescriptor.swift
[58/65] Compiling NIO FileHandle.swift
[59/65] Compiling NIO FileRegion.swift
[60/65] Compiling NIO GetaddrinfoResolver.swift
[61/65] Compiling NIO HappyEyeballs.swift
[62/65] Compiling NIO ServerSocket.swift
[63/65] Compiling NIO Socket.swift
[64/65] Compiling NIO SocketAddresses.swift
[65/65] Compiling NIO SocketChannel.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