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 JWTVapor 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/jwtvapor.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/jwtvapor
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c41dcc1 Dependency Update
Cloned https://github.com/skelpo/jwtvapor.git
Revision (git rev-parse @):
c41dcc101020bc5146c208694aa00de5b97e4639
SUCCESS checkout https://github.com/skelpo/jwtvapor.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/skelpo/jwtvapor.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-zlib-support.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/vapor.git
[1/579] Fetching validation
[580/2990] Fetching validation, websocket
[629/16295] Fetching validation, websocket, fluent
[2983/21573] Fetching validation, websocket, fluent, console
[4242/21588] Fetching validation, websocket, fluent, console, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.33s)
Fetching https://github.com/vapor/jwt.git
Fetched https://github.com/vapor/websocket.git from cache (0.41s)
Fetching https://github.com/vapor/routing.git
Fetched https://github.com/vapor/console.git from cache (0.41s)
Fetching https://github.com/vapor/multipart.git
[6035/13884] Fetching validation, fluent
[12023/81161] Fetching validation, fluent, vapor
[17249/83590] Fetching validation, fluent, vapor, jwt
[23042/85290] Fetching validation, fluent, vapor, jwt, multipart
[25571/105958] Fetching validation, fluent, vapor, jwt, multipart, routing
Fetched https://github.com/vapor/jwt.git from cache (0.34s)
Fetching https://github.com/vapor/crypto.git
[27433/103529] Fetching validation, fluent, vapor, multipart, routing
[46664/106315] Fetching validation, fluent, vapor, multipart, routing, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.37s)
Fetching https://github.com/vapor/core.git
[51987/103529] Fetching validation, fluent, vapor, multipart, routing
[80139/123672] Fetching validation, fluent, vapor, multipart, routing, core
Fetched https://github.com/vapor/routing.git from cache (1.67s)
Fetching https://github.com/vapor/sql.git
Fetched https://github.com/vapor/multipart.git from cache (1.70s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/core.git from cache (1.15s)
Fetching https://github.com/apple/swift-nio.git
[1/25467] Fetching http
[2803/30432] Fetching http, sql
Fetched https://github.com/vapor/validation.git from cache (2.44s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/fluent.git from cache (2.46s)
Fetching https://github.com/vapor/fluent-sqlite.git
Fetched https://github.com/vapor/vapor.git from cache (2.49s)
Fetching https://github.com/vapor/auth.git
Fetched https://github.com/vapor/sql.git from cache (0.49s)
[19355/25467] Fetching http
Fetching https://github.com/vapor/service.git
[20375/26648] Fetching http, database-kit
[21556/27836] Fetching http, database-kit, fluent-sqlite
[21604/28884] Fetching http, database-kit, fluent-sqlite, auth
Fetched https://github.com/vapor/database-kit.git from cache (0.30s)
Fetching https://github.com/vapor/sqlite.git
Fetched https://github.com/vapor/auth.git from cache (0.26s)
Fetching https://github.com/apple/swift-nio-ssl.git
Computing version for https://github.com/vapor/auth.git
[21818/27574] Fetching http, fluent-sqlite, service
Fetched https://github.com/vapor/fluent-sqlite.git from cache (0.30s)
[20639/26386] Fetching http, service
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/vapor/service.git from cache (0.26s)
Fetching https://github.com/vapor/url-encoded-form.git
[1/16] Fetching swift-nio-ssl-support
[10/2027] Fetching swift-nio-ssl-support, sqlite
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.25s)
Fetching https://github.com/vapor/template-kit.git
[404/2392] Fetching sqlite, url-encoded-form
[1529/66806] Fetching sqlite, url-encoded-form, swift-nio
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.30s)
[3944/66425] Fetching sqlite, swift-nio
Fetched https://github.com/vapor/http.git from cache (1.05s)
[6521/78566] Fetching sqlite, swift-nio, swift-nio-ssl
[7288/79848] Fetching sqlite, swift-nio, swift-nio-ssl, template-kit
Fetched https://github.com/vapor/template-kit.git from cache (0.28s)
[12085/78566] Fetching sqlite, swift-nio, swift-nio-ssl
Fetched https://github.com/vapor/sqlite.git from cache (0.66s)
[13865/76555] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.48s)
[25766/64414] Fetching swift-nio
Computed https://github.com/vapor/auth.git at 2.0.4 (1.94s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 3.0.0 (0.52s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.0 (0.48s)
Computing version for https://github.com/vapor/fluent-sqlite.git
Computed https://github.com/vapor/fluent-sqlite.git at 3.0.0 (1.26s)
Computing version for https://github.com/vapor/service.git
Fetched https://github.com/apple/swift-nio.git from cache (4.90s)
Computed https://github.com/vapor/service.git at 1.0.2 (0.46s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.0 (0.46s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.2.1 (0.46s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.3 (0.47s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.9.1 (0.48s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.46s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (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.6 (0.44s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.4.0 (0.47s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.2 (0.44s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.4 (0.46s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.48s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.48s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.2.1 (0.48s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.1 (0.54s)
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.43s)
Creating working copy for https://github.com/vapor/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 2.0.4
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
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.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/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.4
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.9.1
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.6
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.3.3
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.4.0
Creating working copy for https://github.com/vapor/fluent-sqlite.git
Working copy of https://github.com/vapor/fluent-sqlite.git resolved at 3.0.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/sqlite.git
Working copy of https://github.com/vapor/sqlite.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.4.0
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 3.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/46] Write sources
[29/46] Compiling CNIOLinux ifaddrs-android.c
[29/46] Compiling CNIOZlib empty.c
[31/46] Compiling CNIOSHA1 c_nio_sha1.c
[32/46] Compiling CNIOLinux shim.c
[33/46] Compiling CNIODarwin shim.c
[34/46] Compiling CBcrypt bcrypt.c
[35/46] Compiling CBcrypt blf.c
[36/46] Write sources
[39/46] Compiling CNIOHTTPParser c_nio_http_parser.c
[40/46] Compiling CNIOOpenSSL helpers.c
[41/46] Compiling CBase32 base32.c
[42/46] Write swift-version-24593BA9C3E375BF.txt
[43/46] Compiling CNIOOpenSSL shims.c
[44/46] Compiling CCryptoOpenSSL shim.c
[46/55] Emitting module Debugging
[46/55] Compiling c-atomics.c
[48/58] Compiling NIOPriorityQueue PriorityQueue.swift
[49/58] Emitting module COperatingSystem
[50/58] Compiling COperatingSystem libc.swift
[52/59] Compiling NIOConcurrencyHelpers atomics.swift
[53/59] Emitting module NIOConcurrencyHelpers
[54/59] Compiling NIOConcurrencyHelpers lock.swift
[55/60] Compiling Debugging SourceLocation.swift
[56/60] Compiling Debugging Debuggable.swift
[57/60] Compiling Debugging Demangler.swift
[58/60] Emitting module NIOPriorityQueue
[59/60] Compiling NIOPriorityQueue Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/112] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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/118] Compiling NIO ByteBuffer-int.swift
[65/118] Compiling NIO ByteBuffer-views.swift
[66/118] Compiling NIO Channel.swift
[67/118] Compiling NIO ChannelHandler.swift
[68/118] Compiling NIO ChannelHandlers.swift
[69/118] Compiling NIO ChannelInvoker.swift
[70/118] Compiling NIO ChannelOption.swift
[71/118] Compiling NIO MarkedCircularBuffer.swift
[72/118] Compiling NIO MulticastChannel.swift
[73/118] Compiling NIO NIOAny.swift
[74/118] Compiling NIO NonBlockingFileIO.swift
[75/118] Compiling NIO PendingDatagramWritesManager.swift
[76/118] Compiling NIO PendingWritesManager.swift
[77/118] Compiling NIO PriorityQueue.swift
[78/118] Compiling NIO SocketChannel.swift
[79/118] Compiling NIO SocketOptionProvider.swift
[80/118] Compiling NIO System.swift
[81/118] Compiling NIO Thread.swift
[82/118] Compiling NIO TypeAssistedChannelHandler.swift
[83/118] Compiling NIO Utilities.swift
[84/118] Compiling NIO Heap.swift
[85/118] Compiling NIO IO.swift
[86/118] Compiling NIO IOData.swift
[87/118] Compiling NIO IntegerTypes.swift
[88/118] Compiling NIO Interfaces.swift
[89/118] Compiling NIO Linux.swift
[90/118] Compiling NIO LinuxCPUSet.swift
[91/118] Compiling NIO RecvByteBufferAllocator.swift
[92/118] Compiling NIO Resolver.swift
[93/118] Compiling NIO Selectable.swift
[94/118] Compiling NIO Selector.swift
[95/118] Compiling NIO ServerSocket.swift
[96/118] Compiling NIO Socket.swift
[97/118] Compiling NIO SocketAddresses.swift
[98/118] Compiling NIO EventLoop.swift
[99/118] Compiling NIO EventLoopFuture.swift
[100/118] Compiling NIO FileDescriptor.swift
[101/118] Compiling NIO FileHandle.swift
[102/118] Compiling NIO FileRegion.swift
[103/118] Compiling NIO GetaddrinfoResolver.swift
[104/118] Compiling NIO HappyEyeballs.swift
[105/118] Compiling NIO ChannelPipeline.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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/118] Compiling NIO CircularBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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/118] Compiling NIO Codec.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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 }
    ^
[108/118] Compiling NIO CompositeError.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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 }
    ^
[109/118] Compiling NIO ContiguousCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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 }
    ^
[110/118] Compiling NIO DeadChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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 }
    ^
[111/118] Compiling NIO Embedded.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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 }
    ^
[112/118] Compiling NIO AddressedEnvelope.swift
[113/118] Compiling NIO BaseSocket.swift
[114/118] Compiling NIO BaseSocketChannel.swift
[115/118] Compiling NIO BlockingIOThreadPool.swift
[116/118] Compiling NIO Bootstrap.swift
[117/118] Compiling NIO ByteBuffer-aux.swift
[118/118] Compiling NIO ByteBuffer-core.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/9] Compiling NIO ContiguousCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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 }
    ^
[3/9] Compiling NIO DeadChannel.swift
[4/9] Compiling NIO CompositeError.swift
[5/9] Compiling NIO Embedded.swift
[6/26] Compiling NIO Codec.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/26] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
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/26] Compiling NIO CircularBuffer.swift
[9/38] Compiling NIO ChannelPipeline.swift
[10/42] Compiling NIO GetaddrinfoResolver.swift
[11/42] Compiling NIO HappyEyeballs.swift
[12/42] Compiling NIO Heap.swift
[13/42] Compiling NIO IO.swift
[14/43] Compiling NIO ChannelHandler.swift
[15/44] Compiling NIO IOData.swift
[16/44] Compiling NIO IntegerTypes.swift
[17/44] Compiling NIO Interfaces.swift
[18/44] Compiling NIO LinuxCPUSet.swift
[19/44] Compiling NIO SocketOptionProvider.swift
[20/44] Compiling NIO ByteBuffer-int.swift
[21/44] Compiling NIO ByteBuffer-views.swift
[22/44] Compiling NIO Channel.swift
[23/44] Compiling NIO ChannelHandlers.swift
[24/44] Compiling NIO ChannelInvoker.swift
[25/44] Compiling NIO EventLoop.swift
[26/44] Compiling NIO EventLoopFuture.swift
[27/44] Compiling NIO FileRegion.swift
[28/44] Compiling NIO MarkedCircularBuffer.swift
[29/44] Compiling NIO NIOAny.swift
[30/44] Compiling NIO NonBlockingFileIO.swift
[31/44] Compiling NIO PendingDatagramWritesManager.swift
[32/44] Compiling NIO PendingWritesManager.swift
[33/44] Compiling NIO PriorityQueue.swift
[34/44] Compiling NIO RecvByteBufferAllocator.swift
[35/44] Compiling NIO Selector.swift
[36/44] Compiling NIO SocketAddresses.swift
[37/44] Compiling NIO SocketChannel.swift
[38/44] Compiling NIO System.swift
[39/44] Compiling NIO Thread.swift
[40/44] Compiling NIO BaseSocket.swift
[41/44] Compiling NIO BaseSocketChannel.swift
[42/44] Compiling NIO BlockingIOThreadPool.swift
[43/44] Compiling NIO Bootstrap.swift
[44/44] Compiling NIO ByteBuffer-core.swift
error: fatalError
BUILD FAILURE 5.10 linux