The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build APIErrorMiddleware with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/apierrormiddleware.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/skelpo/apierrormiddleware
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c8cd6bd Merge pull request #4 from Cellane/patch-3
Cloned https://github.com/skelpo/apierrormiddleware.git
Revision (git rev-parse @):
c8cd6bd0a26cd000c8625e839312e3ad77ccdc3b
SUCCESS checkout https://github.com/skelpo/apierrormiddleware.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/skelpo/apierrormiddleware.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/15] Fetching swift-nio-zlib-support
[16/2426] Fetching swift-nio-zlib-support, websocket
[2355/3345] Fetching swift-nio-zlib-support, websocket, service
[3346/3361] Fetching swift-nio-zlib-support, websocket, service, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.41s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/websocket.git from cache (0.42s)
Fetching https://github.com/vapor/url-encoded-form.git
[1/67277] Fetching vapor
[2693/79424] Fetching vapor, swift-nio-ssl
[7636/79805] Fetching vapor, swift-nio-ssl, url-encoded-form
[10279/81505] Fetching vapor, swift-nio-ssl, url-encoded-form, multipart
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.31s)
[12667/81124] Fetching vapor, swift-nio-ssl, multipart
[17789/82305] Fetching vapor, swift-nio-ssl, multipart, database-kit
Fetched https://github.com/vapor/database-kit.git from cache (0.45s)
Fetching https://github.com/vapor/validation.git
[22731/81124] Fetching vapor, swift-nio-ssl, multipart
[44279/81703] Fetching vapor, swift-nio-ssl, multipart, validation
Fetched https://github.com/vapor/validation.git from cache (0.49s)
Fetching https://github.com/vapor/routing.git
[58406/81124] Fetching vapor, swift-nio-ssl, multipart
[78591/101792] Fetching vapor, swift-nio-ssl, multipart, routing
Fetched https://github.com/vapor/multipart.git from cache (2.77s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (3.49s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/service.git from cache (3.49s)
Fetching https://github.com/apple/swift-nio.git
[1/20143] Fetching core
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.57s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/vapor.git from cache (3.63s)
Fetching https://github.com/vapor/template-kit.git
Computing version for https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/routing.git from cache (2.04s)
Fetching https://github.com/vapor/crypto.git
[16116/25421] Fetching core, console
[19283/50888] Fetching core, console, http
[29236/53674] Fetching core, console, http, crypto
[30223/54956] Fetching core, console, http, crypto, template-kit
Fetched https://github.com/vapor/template-kit.git from cache (0.66s)
[42409/53674] Fetching core, console, http, crypto
Fetched https://github.com/vapor/console.git from cache (0.81s)
[37895/48396] Fetching core, http, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.60s)
[36383/45610] Fetching core, http
[40773/110049] Fetching core, http, swift-nio
Computed https://github.com/vapor/vapor.git at 3.0.3 (1.05s)
Fetched https://github.com/vapor/core.git from cache (1.85s)
[33200/89906] Fetching http, swift-nio
Fetched https://github.com/vapor/http.git from cache (1.83s)
Computing version for https://github.com/vapor/websocket.git
[14177/64439] Fetching swift-nio
Computed https://github.com/vapor/websocket.git at 1.0.1 (1.19s)
Fetched https://github.com/apple/swift-nio.git from cache (5.54s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.44s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.0.3 (0.45s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.47s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.46s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.45s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.46s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.46s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.46s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.1.2 (0.48s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.2.1 (0.48s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.47s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.1.1 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.7.2 (0.56s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.57s)
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.45s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.7.2
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.1.2
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.0.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.0.3
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.0.1
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.0.3
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.0.1
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.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
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/39] Write sources
[26/39] Compiling CNIOOpenSSL empty.c
[27/39] Compiling CNIOZlib empty.c
[28/39] Compiling CNIOSHA1 c_nio_sha1.c
[28/39] Write sources
[32/39] Compiling CNIODarwin shim.c
[33/39] Compiling CNIOLinux shim.c
[34/39] Compiling libbcrypt bcrypt.c
[35/39] Compiling libbcrypt blf.c
[36/39] Write swift-version-24593BA9C3E375BF.txt
[37/39] Compiling CNIOHTTPParser c_nio_http_parser.c
[39/48] Emitting module COperatingSystem
[39/48] Compiling c-atomics.c
[41/51] Compiling NIOPriorityQueue PriorityQueue.swift
[42/51] Compiling Debugging SourceLocation.swift
[43/51] Compiling COperatingSystem libc.swift
[44/52] Compiling Debugging Demangler.swift
[45/52] Emitting module Debugging
[46/52] Compiling Debugging Debuggable.swift
[49/53] Emitting module NIOPriorityQueue
[50/53] Compiling NIOPriorityQueue Heap.swift
[51/53] Compiling NIOConcurrencyHelpers atomics.swift
[52/53] Emitting module NIOConcurrencyHelpers
[53/53] Compiling NIOConcurrencyHelpers lock.swift
[56/101] Compiling NIO RecvByteBufferAllocator.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[57/101] Compiling NIO Resolver.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[58/101] Compiling NIO Selectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[59/101] Compiling NIO Selector.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[60/101] Compiling NIO ServerSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[61/101] Compiling NIO Socket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/107] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[63/107] Compiling NIO FileDescriptor.swift
[64/107] Compiling NIO FileHandle.swift
[65/107] Compiling NIO FileRegion.swift
[66/107] Compiling NIO GetaddrinfoResolver.swift
[67/107] Compiling NIO HappyEyeballs.swift
[68/107] Compiling NIO Heap.swift
[69/107] Compiling NIO ByteBuffer-int.swift
[70/107] Compiling NIO Channel.swift
[71/107] Compiling NIO ChannelHandler.swift
[72/107] Compiling NIO ChannelHandlers.swift
[73/107] Compiling NIO ChannelInvoker.swift
[74/107] Compiling NIO ChannelOption.swift
[75/107] Compiling NIO ChannelPipeline.swift
[76/107] Compiling NIO IO.swift
[77/107] Compiling NIO IOData.swift
[78/107] Compiling NIO IntegerTypes.swift
[79/107] Compiling NIO Interfaces.swift
[80/107] Compiling NIO Linux.swift
[81/107] Compiling NIO LinuxCPUSet.swift
[82/107] Compiling NIO MarkedCircularBuffer.swift
[83/107] Compiling NIO NIOAny.swift
[84/107] Compiling NIO NonBlockingFileIO.swift
[85/107] Compiling NIO PendingDatagramWritesManager.swift
[86/107] Compiling NIO PendingWritesManager.swift
[87/107] Compiling NIO PriorityQueue.swift
[88/107] Compiling NIO SocketAddresses.swift
[89/107] Compiling NIO SocketChannel.swift
[90/107] Compiling NIO System.swift
[91/107] Compiling NIO Thread.swift
[92/107] Compiling NIO TypeAssistedChannelHandler.swift
[93/107] Compiling NIO Utilities.swift
[94/107] Compiling NIO CircularBuffer.swift
[95/107] Compiling NIO Codec.swift
[96/107] Compiling NIO CompositeError.swift
[97/107] Compiling NIO DeadChannel.swift
[98/107] Compiling NIO Embedded.swift
[99/107] Compiling NIO EventLoop.swift
[100/107] Compiling NIO EventLoopFuture.swift
[101/107] Compiling NIO AddressedEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[102/107] Compiling NIO BaseSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[103/107] Compiling NIO BaseSocketChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[104/107] Compiling NIO BlockingIOThreadPool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[105/107] Compiling NIO Bootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[106/107] Compiling NIO ByteBuffer-aux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[107/107] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
error: fatalError
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling NIO ServerSocket.swift
[3/15] Compiling NIO Resolver.swift
[4/15] Compiling NIO Selectable.swift
[5/15] Compiling NIO Selector.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[6/17] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[7/17] Compiling NIO RecvByteBufferAllocator.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[8/18] Compiling NIO Socket.swift
[9/19] Compiling NIO Bootstrap.swift
[10/19] Compiling NIO ByteBuffer-aux.swift
[11/20] Compiling NIO Channel.swift
[12/21] Compiling NIO GetaddrinfoResolver.swift
[13/22] Compiling NIO HappyEyeballs.swift
[14/23] Compiling NIO SocketChannel.swift
[15/26] Compiling NIO EventLoop.swift
[16/29] Compiling NIO PendingDatagramWritesManager.swift
[17/32] Compiling NIO PendingWritesManager.swift
[18/35] Compiling NIO AddressedEnvelope.swift
[19/35] Compiling NIO BaseSocket.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/35] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[21/35] Compiling NIO BaseSocketChannel.swift
[22/35] Compiling NIO BlockingIOThreadPool.swift
[23/44] Compiling NIO Codec.swift
[24/44] Compiling NIO DeadChannel.swift
[25/44] Compiling NIO Embedded.swift
[26/47] Compiling NIO System.swift
[27/48] Compiling NIO ByteBuffer-int.swift
[28/48] Compiling NIO ChannelHandler.swift
[29/48] Compiling NIO ChannelHandlers.swift
[30/48] Compiling NIO NIOAny.swift
[31/48] Compiling NIO NonBlockingFileIO.swift
[32/48] Compiling NIO PriorityQueue.swift
[33/50] Compiling NIO CompositeError.swift
[34/51] Compiling NIO FileHandle.swift
[35/51] Compiling NIO Linux.swift
[36/51] Compiling NIO Utilities.swift
[37/51] Compiling NIO SocketAddresses.swift
[38/51] Compiling NIO Thread.swift
[39/51] Compiling NIO TypeAssistedChannelHandler.swift
[40/51] Compiling NIO IO.swift
[41/51] Compiling NIO IOData.swift
[42/51] Compiling NIO IntegerTypes.swift
[43/51] Compiling NIO Interfaces.swift
[44/51] Compiling NIO LinuxCPUSet.swift
[45/51] Compiling NIO MarkedCircularBuffer.swift
[46/51] Compiling NIO EventLoopFuture.swift
[47/51] Compiling NIO FileRegion.swift
[48/51] Compiling NIO Heap.swift
[49/51] Compiling NIO ChannelInvoker.swift
[50/51] Compiling NIO ChannelPipeline.swift
[51/51] Compiling NIO CircularBuffer.swift
error: fatalError
BUILD FAILURE 5.10 linux