This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.33.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-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
[2787/3705] Fetching crypto, service
[2806/4886] Fetching crypto, service, database-kit
[2807/4901] Fetching crypto, service, database-kit, swift-nio-zlib-support
[4900/10179] Fetching crypto, service, database-kit, swift-nio-zlib-support, console
Fetched https://github.com/vapor/service.git from cache (0.34s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/vapor/crypto.git from cache (0.34s)
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/console.git from cache (0.34s)
Fetching https://github.com/vapor/core.git
[1195/13404] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl
[4247/14686] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, template-kit
[4819/14702] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, template-kit, swift-nio-ssl-support
[6034/34845] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, template-kit, swift-nio-ssl-support, core
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.27s)
Fetching https://github.com/vapor/url-encoded-form.git
[9937/34829] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, template-kit, core
Fetched https://github.com/vapor/template-kit.git from cache (0.28s)
[9259/33547] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, core
Fetching https://github.com/vapor/validation.git
[28298/33928] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, core, url-encoded-form
[29167/34507] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, core, url-encoded-form, validation
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.29s)
Fetching https://github.com/apple/swift-nio.git
[30297/34126] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, core, validation
Fetched https://github.com/vapor/validation.git from cache (0.29s)
Fetching https://github.com/vapor/multipart.git
[29920/33547] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, core
[33546/35317] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, core, multipart
[34042/100500] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, core, multipart, swift-nio
Fetched https://github.com/vapor/core.git from cache (1.20s)
Fetching https://github.com/vapor/vapor.git
[17158/80357] Fetching database-kit, swift-nio-zlib-support, swift-nio-ssl, multipart, swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (1.60s)
Fetched https://github.com/vapor/database-kit.git from cache (1.60s)
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/websocket.git
[17267/79161] Fetching swift-nio-ssl, multipart, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.63s)
Fetching https://github.com/vapor/routing.git
[7667/66953] Fetching multipart, swift-nio
[22660/87621] Fetching multipart, swift-nio, routing
[23313/113088] Fetching multipart, swift-nio, routing, http
[23314/115510] Fetching multipart, swift-nio, routing, http, websocket
[35530/182837] Fetching multipart, swift-nio, routing, http, websocket, vapor
Fetched https://github.com/vapor/websocket.git from cache (0.50s)
[43031/180415] Fetching multipart, swift-nio, routing, http, vapor
Fetched https://github.com/vapor/multipart.git from cache (2.55s)
[118888/178645] Fetching swift-nio, routing, http, vapor
Fetched https://github.com/vapor/http.git from cache (2.08s)
[120288/153178] Fetching swift-nio, routing, vapor
Fetched https://github.com/vapor/routing.git from cache (2.06s)
[101640/132510] Fetching swift-nio, vapor
Fetched https://github.com/vapor/vapor.git from cache (3.09s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.0.3 (0.53s)
Computing version for https://github.com/vapor/websocket.git
Fetched https://github.com/apple/swift-nio.git from cache (7.84s)
Computed https://github.com/vapor/websocket.git at 1.0.1 (3.75s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (1.15s)
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.40s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.38s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.39s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.38s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.36s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.42s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.53s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.1.2 (0.45s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.2.1 (0.38s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.37s)
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.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.7.2 (0.45s)
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.36s)
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.53s)
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/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-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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.1.2
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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.0.3
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/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/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/routing.git
Working copy of https://github.com/vapor/routing.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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.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/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 CNIOZlib empty.c
[27/39] Compiling CNIOOpenSSL empty.c
[28/39] Compiling CNIOSHA1 c_nio_sha1.c
[29/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
[38/48] Compiling c-atomics.c
[40/51] Compiling Debugging SourceLocation.swift
[41/51] Compiling COperatingSystem libc.swift
[42/51] Emitting module COperatingSystem
[43/52] Compiling Debugging Demangler.swift
[44/52] Emitting module NIOConcurrencyHelpers
[45/52] Compiling NIOConcurrencyHelpers atomics.swift
[46/52] Compiling NIOConcurrencyHelpers lock.swift
[49/53] Emitting module Debugging
[50/53] Compiling Debugging Debuggable.swift
[52/54] Compiling NIOPriorityQueue PriorityQueue.swift
[53/54] Emitting module NIOPriorityQueue
[54/54] Compiling NIOPriorityQueue Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/101] 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 }
    ^
[57/107] Compiling NIO FileDescriptor.swift
[58/107] Compiling NIO FileHandle.swift
[59/107] Compiling NIO FileRegion.swift
[60/107] Compiling NIO GetaddrinfoResolver.swift
[61/107] Compiling NIO HappyEyeballs.swift
[62/107] Compiling NIO Heap.swift
[63/107] Compiling NIO MarkedCircularBuffer.swift
[64/107] Compiling NIO NIOAny.swift
[65/107] Compiling NIO NonBlockingFileIO.swift
[66/107] Compiling NIO PendingDatagramWritesManager.swift
[67/107] Compiling NIO PendingWritesManager.swift
[68/107] Compiling NIO PriorityQueue.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 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 }
    ^
[77/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 }
    ^
[78/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 }
    ^
[79/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 }
    ^
[80/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 }
    ^
[81/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 }
    ^
[82/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 }
    ^
[83/107] Compiling NIO CircularBuffer.swift
[84/107] Compiling NIO Codec.swift
[85/107] Compiling NIO CompositeError.swift
[86/107] Compiling NIO DeadChannel.swift
[87/107] Compiling NIO Embedded.swift
[88/107] Compiling NIO EventLoop.swift
[89/107] Compiling NIO EventLoopFuture.swift
[90/107] Compiling NIO IO.swift
[91/107] Compiling NIO IOData.swift
[92/107] Compiling NIO IntegerTypes.swift
[93/107] Compiling NIO Interfaces.swift
[94/107] Compiling NIO Linux.swift
[95/107] Compiling NIO LinuxCPUSet.swift
[96/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 {
                          ^
[97/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 {
                          ^
[98/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 {
                          ^
[99/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 {
                          ^
[100/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 {
                          ^
[101/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 {
                          ^
[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/16] 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/16] 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 Channel.swift
[10/20] Compiling NIO GetaddrinfoResolver.swift
[11/21] Compiling NIO HappyEyeballs.swift
[12/22] Compiling NIO EventLoop.swift
[13/23] Compiling NIO SocketChannel.swift
[14/23] Compiling NIO PendingDatagramWritesManager.swift
[15/23] Compiling NIO Bootstrap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/23] Compiling NIO ByteBuffer-aux.swift
[17/23] Compiling NIO AddressedEnvelope.swift
[18/23] Compiling NIO BaseSocket.swift
[19/23] Compiling NIO BaseSocketChannel.swift
[20/23] Compiling NIO BlockingIOThreadPool.swift
[21/23] 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 }
    ^
[22/23] Compiling NIO PendingWritesManager.swift
[23/44] Compiling NIO System.swift
[24/47] Compiling NIO IO.swift
[25/47] Compiling NIO IOData.swift
[26/47] Compiling NIO IntegerTypes.swift
[27/48] Compiling NIO Codec.swift
[28/48] Compiling NIO DeadChannel.swift
[29/48] Compiling NIO Embedded.swift
[30/49] Compiling NIO Interfaces.swift
[31/49] Compiling NIO LinuxCPUSet.swift
[32/49] Compiling NIO MarkedCircularBuffer.swift
[33/50] Compiling NIO ByteBuffer-int.swift
[34/50] Compiling NIO ChannelHandler.swift
[35/50] Compiling NIO ChannelHandlers.swift
[36/51] Compiling NIO CompositeError.swift
[37/51] Compiling NIO EventLoopFuture.swift
[38/51] Compiling NIO FileRegion.swift
[39/51] Compiling NIO Heap.swift
[40/51] Compiling NIO FileHandle.swift
[41/51] Compiling NIO Linux.swift
[42/51] Compiling NIO SocketAddresses.swift
[43/51] Compiling NIO Thread.swift
[44/51] Compiling NIO TypeAssistedChannelHandler.swift
[45/51] Compiling NIO Utilities.swift
[46/51] Compiling NIO NIOAny.swift
[47/51] Compiling NIO NonBlockingFileIO.swift
[48/51] Compiling NIO PriorityQueue.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
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.