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 Guardian 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/jinxiansen/guardian.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/jinxiansen/guardian
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 34fc29d update md
Cloned https://github.com/jinxiansen/guardian.git
Revision (git rev-parse @):
34fc29ddcf9637b203fd5c78e1ed9e5079eac86b
SUCCESS checkout https://github.com/jinxiansen/guardian.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/jinxiansen/guardian.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/http.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/console.git
[1/20668] Fetching routing
[1242/21849] Fetching routing, database-kit
[3663/21865] Fetching routing, database-kit, swift-nio-ssl-support
[4294/23565] Fetching routing, database-kit, swift-nio-ssl-support, multipart
[4585/28843] Fetching routing, database-kit, swift-nio-ssl-support, multipart, console
[4827/54310] Fetching routing, database-kit, swift-nio-ssl-support, multipart, console, http
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.42s)
[31034/54294] Fetching routing, database-kit, multipart, console, http
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/vapor/console.git from cache (0.42s)
Fetching https://github.com/vapor/websocket.git
[26265/49016] Fetching routing, database-kit, multipart, http
[41494/51802] Fetching routing, database-kit, multipart, http, crypto
[44657/54213] Fetching routing, database-kit, multipart, http, crypto, websocket
Fetched https://github.com/vapor/crypto.git from cache (0.42s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/websocket.git from cache (0.43s)
Fetching https://github.com/apple/swift-nio-ssl.git
[43242/49016] Fetching routing, database-kit, multipart, http
[47827/69159] Fetching routing, database-kit, multipart, http, core
[63943/81306] Fetching routing, database-kit, multipart, http, core, swift-nio-ssl
Fetched https://github.com/vapor/database-kit.git from cache (1.87s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[79640/80125] Fetching routing, multipart, http, core, swift-nio-ssl
Fetched https://github.com/vapor/routing.git from cache (1.90s)
Fetching https://github.com/vapor/service.git
Fetched https://github.com/vapor/http.git from cache (1.90s)
Fetching https://github.com/vapor/template-kit.git
[33990/33990] Fetching multipart, core, swift-nio-ssl
Fetched https://github.com/vapor/multipart.git from cache (1.94s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/core.git from cache (1.19s)
Fetching https://github.com/vapor/url-encoded-form.git
[1/15] Fetching swift-nio-zlib-support
[16/1297] Fetching swift-nio-zlib-support, template-kit
[414/2216] Fetching swift-nio-zlib-support, template-kit, service
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.35s)
Fetching https://github.com/vapor/validation.git
[1/381] Fetching url-encoded-form
Fetched https://github.com/vapor/service.git from cache (0.38s)
Fetched https://github.com/vapor/template-kit.git from cache (0.38s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.32s)
[1/67278] Fetching vapor
[1347/67857] Fetching vapor, validation
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.64s)
Fetched https://github.com/vapor/validation.git from cache (0.27s)
[5383/67278] Fetching vapor
[57861/131748] Fetching vapor, swift-nio
Fetched https://github.com/vapor/vapor.git from cache (2.37s)
Computing version for https://github.com/vapor/vapor.git
[19986/64470] Fetching swift-nio
Computed https://github.com/vapor/vapor.git at 3.0.4 (0.62s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.56s)
Fetched https://github.com/apple/swift-nio.git from cache (5.32s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.45s)
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.68s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.80s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.71s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.72s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.68s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.7 (0.75s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.60s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.2.0 (0.60s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.2.2 (0.51s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.45s)
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.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.50s)
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.64s)
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.63s)
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.7
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.0.4
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/routing.git
Working copy of https://github.com/vapor/routing.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.2
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.2.0
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.2
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/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/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/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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.8.0
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
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 CNIOZlib empty.c
[28/39] Compiling CNIOOpenSSL empty.c
[29/39] Compiling CNIODarwin shim.c
[30/39] Write sources
[32/39] Compiling CNIOSHA1 c_nio_sha1.c
[33/39] Compiling CNIOLinux shim.c
[34/39] Compiling libbcrypt blf.c
[35/39] Compiling CNIOHTTPParser c_nio_http_parser.c
[36/39] Compiling libbcrypt bcrypt.c
[36/39] Write swift-version-24593BA9C3E375BF.txt
[38/48] Compiling c-atomics.c
[40/51] Compiling NIOPriorityQueue PriorityQueue.swift
[41/51] Compiling Debugging SourceLocation.swift
[42/51] Emitting module COperatingSystem
[43/51] Compiling COperatingSystem libc.swift
[44/52] Compiling Debugging Demangler.swift
[46/52] Emitting module Debugging
[47/52] Compiling Debugging Debuggable.swift
[49/53] Emitting module NIOConcurrencyHelpers
[50/53] Compiling NIOConcurrencyHelpers atomics.swift
[51/53] Compiling NIOConcurrencyHelpers lock.swift
[52/54] Emitting module NIOPriorityQueue
[53/54] Compiling NIOPriorityQueue Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/102] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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/108] Compiling NIO AddressedEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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/108] Compiling NIO BaseSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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/108] Compiling NIO BaseSocketChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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/108] Compiling NIO BlockingIOThreadPool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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/108] Compiling NIO Bootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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/108] Compiling NIO ByteBuffer-aux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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/108] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[64/108] Compiling NIO IO.swift
[65/108] Compiling NIO IOData.swift
[66/108] Compiling NIO IntegerTypes.swift
[67/108] Compiling NIO Interfaces.swift
[68/108] Compiling NIO Linux.swift
[69/108] Compiling NIO LinuxCPUSet.swift
[70/108] Compiling NIO ByteBuffer-int.swift
[71/108] Compiling NIO ByteBuffer-views.swift
[72/108] Compiling NIO Channel.swift
[73/108] Compiling NIO ChannelHandler.swift
[74/108] Compiling NIO ChannelHandlers.swift
[75/108] Compiling NIO ChannelInvoker.swift
[76/108] Compiling NIO ChannelOption.swift
[77/108] Compiling NIO MarkedCircularBuffer.swift
[78/108] Compiling NIO NIOAny.swift
[79/108] Compiling NIO NonBlockingFileIO.swift
[80/108] Compiling NIO PendingDatagramWritesManager.swift
[81/108] Compiling NIO PendingWritesManager.swift
[82/108] Compiling NIO PriorityQueue.swift
[83/108] Compiling NIO SocketAddresses.swift
[84/108] Compiling NIO SocketChannel.swift
[85/108] Compiling NIO System.swift
[86/108] Compiling NIO Thread.swift
[87/108] Compiling NIO TypeAssistedChannelHandler.swift
[88/108] Compiling NIO Utilities.swift
[89/108] Compiling NIO EventLoopFuture.swift
[90/108] Compiling NIO FileDescriptor.swift
[91/108] Compiling NIO FileHandle.swift
[92/108] Compiling NIO FileRegion.swift
[93/108] Compiling NIO GetaddrinfoResolver.swift
[94/108] Compiling NIO HappyEyeballs.swift
[95/108] Compiling NIO Heap.swift
[96/108] Compiling NIO ChannelPipeline.swift
[97/108] Compiling NIO CircularBuffer.swift
[98/108] Compiling NIO Codec.swift
[99/108] Compiling NIO CompositeError.swift
[100/108] Compiling NIO DeadChannel.swift
[101/108] Compiling NIO Embedded.swift
[102/108] Compiling NIO EventLoop.swift
[103/108] 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 {
                          ^
[104/108] 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 {
                          ^
[105/108] 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 {
                          ^
[106/108] 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 {
                          ^
[107/108] 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 {
                          ^
[108/108] 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: 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:664: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:664: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:664: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:664: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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/18] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[10/20] Compiling NIO Channel.swift
[11/21] Compiling NIO GetaddrinfoResolver.swift
[12/22] Compiling NIO HappyEyeballs.swift
[13/23] Compiling NIO EventLoop.swift
[14/23] Compiling NIO SocketChannel.swift
[15/23] Compiling NIO PendingDatagramWritesManager.swift
[16/23] Compiling NIO PendingWritesManager.swift
[17/23] Compiling NIO Bootstrap.swift
[18/23] Compiling NIO ByteBuffer-aux.swift
[19/23] Compiling NIO AddressedEnvelope.swift
[20/23] Compiling NIO BaseSocket.swift
[21/23] Compiling NIO BaseSocketChannel.swift
[22/23] Compiling NIO BlockingIOThreadPool.swift
[23/45] Compiling NIO System.swift
[24/48] Compiling NIO NIOAny.swift
[25/48] Compiling NIO NonBlockingFileIO.swift
[26/48] Compiling NIO PriorityQueue.swift
[27/49] Compiling NIO IO.swift
[28/49] Compiling NIO IOData.swift
[29/49] Compiling NIO IntegerTypes.swift
[30/50] Compiling NIO Codec.swift
[31/50] Compiling NIO DeadChannel.swift
[32/50] Compiling NIO Embedded.swift
[33/51] Compiling NIO Interfaces.swift
[34/51] Compiling NIO LinuxCPUSet.swift
[35/51] Compiling NIO MarkedCircularBuffer.swift
[36/52] Compiling NIO CompositeError.swift
[37/52] Compiling NIO EventLoopFuture.swift
[38/52] Compiling NIO FileRegion.swift
[39/52] Compiling NIO Heap.swift
[40/52] Compiling NIO FileHandle.swift
[41/52] Compiling NIO Linux.swift
[42/52] Compiling NIO Utilities.swift
[43/52] Compiling NIO ByteBuffer-int.swift
[44/52] Compiling NIO ByteBuffer-views.swift
[45/52] Compiling NIO ChannelHandler.swift
[46/52] Compiling NIO ChannelHandlers.swift
[47/52] Compiling NIO SocketAddresses.swift
[48/52] Compiling NIO Thread.swift
[49/52] Compiling NIO TypeAssistedChannelHandler.swift
[50/52] Compiling NIO ChannelInvoker.swift
[51/52] Compiling NIO ChannelPipeline.swift
[52/52] Compiling NIO CircularBuffer.swift
error: fatalError
BUILD FAILURE 5.10 linux