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-1":/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: 0.3.5
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
 * tag               0.3.5      -> FETCH_HEAD
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 0.3.5
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
[16/1196] Fetching swift-nio-zlib-support, database-kit
[1197/3607] Fetching swift-nio-zlib-support, database-kit, websocket
[2524/6393] Fetching swift-nio-zlib-support, database-kit, websocket, crypto
[6394/7312] Fetching swift-nio-zlib-support, database-kit, websocket, crypto, service
Fetched https://github.com/vapor/crypto.git from cache (0.35s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.35s)
Fetching https://github.com/vapor/validation.git
Fetched https://github.com/vapor/service.git from cache (0.36s)
Fetching https://github.com/vapor/vapor.git
[1/579] Fetching validation
Fetched https://github.com/vapor/validation.git from cache (0.25s)
Fetching https://github.com/vapor/routing.git
[1/67277] Fetching vapor
[2693/87945] Fetching vapor, routing
[26992/152384] Fetching vapor, routing, swift-nio
[76558/152765] Fetching vapor, routing, swift-nio, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git from cache (1.36s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[93993/152384] Fetching vapor, routing, swift-nio
Fetched https://github.com/vapor/routing.git from cache (1.11s)
Fetching https://github.com/vapor/template-kit.git
[73997/131716] Fetching vapor, swift-nio
[84677/132998] Fetching vapor, swift-nio, template-kit
[86615/133014] Fetching vapor, swift-nio, template-kit, swift-nio-ssl-support
Fetched https://github.com/vapor/template-kit.git from cache (0.32s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.35s)
Fetching https://github.com/apple/swift-nio-ssl.git
[86609/131716] Fetching vapor, swift-nio
[89832/133416] Fetching vapor, swift-nio, multipart
[92275/145563] Fetching vapor, swift-nio, multipart, swift-nio-ssl
Fetched https://github.com/vapor/vapor.git from cache (2.76s)
Computing version for https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/core.git
[31621/78286] Fetching swift-nio, multipart, swift-nio-ssl
[53089/98429] Fetching swift-nio, multipart, swift-nio-ssl, core
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.81s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/core.git from cache (1.87s)
Fetching https://github.com/vapor/http.git
[64966/66139] Fetching swift-nio, multipart
[66140/71417] Fetching swift-nio, multipart, console
[66193/96884] Fetching swift-nio, multipart, console, http
Fetched https://github.com/vapor/console.git from cache (0.83s)
[73525/91606] Fetching swift-nio, multipart, http
Fetched https://github.com/vapor/multipart.git from cache (3.67s)
[72334/89906] Fetching swift-nio, http
Fetched https://github.com/vapor/http.git from cache (1.94s)
Computed https://github.com/vapor/vapor.git at 3.0.3 (4.78s)
Fetched https://github.com/vapor/database-kit.git from cache (7.94s)
Fetched https://github.com/vapor/websocket.git from cache (7.94s)
Computing version for https://github.com/vapor/websocket.git
Fetched https://github.com/apple/swift-nio.git from cache (8.04s)
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.47s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.62s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.0.3 (1.19s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.45s)
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.47s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.45s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.45s)
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.47s)
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.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.7.2 (0.51s)
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.43s)
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.42s)
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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.7.2
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/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/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/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/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/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/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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.0.3
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.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/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
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
[27/39] Compiling CNIOOpenSSL empty.c
[27/39] Compiling CNIOZlib empty.c
[29/39] Compiling CNIOSHA1 c_nio_sha1.c
[30/39] Write sources
[32/39] Compiling libbcrypt bcrypt.c
[33/39] Compiling CNIOLinux shim.c
[34/39] Compiling libbcrypt blf.c
[35/39] Compiling CNIODarwin shim.c
[36/39] Compiling CNIOHTTPParser c_nio_http_parser.c
[37/39] Write swift-version-24593BA9C3E375BF.txt
[38/48] Compiling c-atomics.c
[40/51] Compiling Debugging SourceLocation.swift
[41/51] Compiling NIOPriorityQueue PriorityQueue.swift
[42/51] Emitting module COperatingSystem
[43/51] Compiling COperatingSystem libc.swift
[45/52] Emitting module NIOPriorityQueue
[46/52] Compiling NIOPriorityQueue Heap.swift
[48/53] Compiling Debugging Demangler.swift
[49/53] Emitting module NIOConcurrencyHelpers
[50/53] Compiling NIOConcurrencyHelpers atomics.swift
[51/53] Compiling NIOConcurrencyHelpers lock.swift
[53/54] Emitting module Debugging
[54/54] Compiling Debugging Debuggable.swift
[56/101] 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 }
    ^
[57/101] 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 }
    ^
[58/101] 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 }
    ^
[59/101] 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 }
    ^
[60/101] 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 }
    ^
[61/101] 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 }
    ^
[62/101] 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 }
    ^
[63/107] Compiling NIO IO.swift
[64/107] Compiling NIO IOData.swift
[65/107] Compiling NIO IntegerTypes.swift
[66/107] Compiling NIO Interfaces.swift
[67/107] Compiling NIO Linux.swift
[68/107] Compiling NIO LinuxCPUSet.swift
[69/107] Compiling NIO FileDescriptor.swift
[70/107] Compiling NIO FileHandle.swift
[71/107] Compiling NIO FileRegion.swift
[72/107] Compiling NIO GetaddrinfoResolver.swift
[73/107] Compiling NIO HappyEyeballs.swift
[74/107] Compiling NIO Heap.swift
[75/107] Compiling NIO MarkedCircularBuffer.swift
[76/107] Compiling NIO NIOAny.swift
[77/107] Compiling NIO NonBlockingFileIO.swift
[78/107] Compiling NIO PendingDatagramWritesManager.swift
[79/107] Compiling NIO PendingWritesManager.swift
[80/107] Compiling NIO PriorityQueue.swift
[81/107] 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 {
                          ^
[82/107] 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 {
                          ^
[83/107] 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 {
                          ^
[84/107] 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 {
                          ^
[85/107] 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 {
                          ^
[86/107] 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 {
                          ^
[87/107] Compiling NIO ByteBuffer-int.swift
[88/107] Compiling NIO Channel.swift
[89/107] Compiling NIO ChannelHandler.swift
[90/107] Compiling NIO ChannelHandlers.swift
[91/107] Compiling NIO ChannelInvoker.swift
[92/107] Compiling NIO ChannelOption.swift
[93/107] Compiling NIO ChannelPipeline.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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] 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 }
    ^
[102/107] Compiling NIO SocketAddresses.swift
[103/107] Compiling NIO SocketChannel.swift
[104/107] Compiling NIO System.swift
[105/107] Compiling NIO Thread.swift
[106/107] Compiling NIO TypeAssistedChannelHandler.swift
[107/107] Compiling NIO Utilities.swift
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 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 {
                          ^
[4/16] Compiling NIO Resolver.swift
[5/16] Compiling NIO Selectable.swift
[6/17] Compiling NIO Socket.swift
[7/18] 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 }
    ^
[8/18] 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 }
    ^
[9/18] Compiling NIO Bootstrap.swift
[10/18] Compiling NIO ByteBuffer-aux.swift
[11/20] Compiling NIO Channel.swift
[12/21] Compiling NIO EventLoop.swift
[13/22] Compiling NIO SocketChannel.swift
[14/23] Compiling NIO GetaddrinfoResolver.swift
[15/23] Compiling NIO HappyEyeballs.swift
[16/29] Compiling NIO PendingDatagramWritesManager.swift
[17/32] Compiling NIO BaseSocketChannel.swift
[18/32] Compiling NIO BlockingIOThreadPool.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/32] 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 }
    ^
[20/35] Compiling NIO AddressedEnvelope.swift
[21/35] Compiling NIO BaseSocket.swift
[22/41] Compiling NIO PendingWritesManager.swift
[23/44] Compiling NIO System.swift
[24/47] Compiling NIO Codec.swift
[25/47] Compiling NIO DeadChannel.swift
[26/47] Compiling NIO Embedded.swift
[27/47] Compiling NIO Interfaces.swift
[28/47] Compiling NIO LinuxCPUSet.swift
[29/47] Compiling NIO MarkedCircularBuffer.swift
[30/49] Compiling NIO IO.swift
[31/49] Compiling NIO IOData.swift
[32/49] Compiling NIO IntegerTypes.swift
[33/50] Compiling NIO NIOAny.swift
[34/50] Compiling NIO NonBlockingFileIO.swift
[35/50] Compiling NIO PriorityQueue.swift
[36/51] Compiling NIO FileHandle.swift
[37/51] Compiling NIO CompositeError.swift
[38/51] Compiling NIO Linux.swift
[39/51] Compiling NIO Utilities.swift
[40/51] Compiling NIO ByteBuffer-int.swift
[41/51] Compiling NIO ChannelHandler.swift
[42/51] Compiling NIO ChannelHandlers.swift
[43/51] Compiling NIO ChannelInvoker.swift
[44/51] Compiling NIO ChannelPipeline.swift
[45/51] Compiling NIO CircularBuffer.swift
[46/51] Compiling NIO EventLoopFuture.swift
[47/51] Compiling NIO FileRegion.swift
[48/51] Compiling NIO Heap.swift
[49/51] Compiling NIO SocketAddresses.swift
[50/51] Compiling NIO Thread.swift
[51/51] Compiling NIO TypeAssistedChannelHandler.swift
error: fatalError
BUILD FAILURE 5.10 linux