Build Information
Failed to build Guardian 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jinxiansen/guardian.git
Reference: 3.0.0
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
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at 09171f5 update Source.
Cloned https://github.com/jinxiansen/guardian.git
Revision (git rev-parse @):
09171f5c06ce277b3794a76c21bec6cefa73770b
SUCCESS checkout https://github.com/jinxiansen/guardian.git at 3.0.0
========================================
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-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/service.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/919] Fetching service
[920/21062] Fetching service, core
[2129/22243] Fetching service, core, database-kit
[6203/24654] Fetching service, core, database-kit, websocket
[20498/36801] Fetching service, core, database-kit, websocket, swift-nio-ssl
[35379/101271] Fetching service, core, database-kit, websocket, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/core.git from cache (1.24s)
Fetching https://github.com/vapor/http.git
[23420/81128] Fetching service, database-kit, websocket, swift-nio-ssl, swift-nio
[34381/106595] Fetching service, database-kit, websocket, swift-nio-ssl, swift-nio, http
Fetched https://github.com/vapor/http.git from cache (1.12s)
Fetching https://github.com/vapor/template-kit.git
[49208/81128] Fetching service, database-kit, websocket, swift-nio-ssl, swift-nio
[72418/82410] Fetching service, database-kit, websocket, swift-nio-ssl, swift-nio, template-kit
Fetched https://github.com/vapor/template-kit.git from cache (0.42s)
Fetching https://github.com/vapor/url-encoded-form.git
[80799/81509] Fetching service, database-kit, websocket, swift-nio-ssl, swift-nio, url-encoded-form
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.66s)
Fetched https://github.com/vapor/database-kit.git from cache (3.82s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/vapor/service.git from cache (3.82s)
Fetched https://github.com/vapor/websocket.git from cache (3.82s)
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/validation.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.84s)
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/apple/swift-nio.git from cache (3.93s)
Fetching https://github.com/vapor/routing.git
[1/16] Fetching swift-nio-ssl-support
[17/2802] Fetching swift-nio-ssl-support, crypto
[1020/4502] Fetching swift-nio-ssl-support, crypto, multipart
[3313/5081] Fetching swift-nio-ssl-support, crypto, multipart, validation
[3892/25749] Fetching swift-nio-ssl-support, crypto, multipart, validation, routing
Fetched https://github.com/vapor/crypto.git from cache (0.28s)
Fetching https://github.com/vapor/console.git
[1726/22963] Fetching swift-nio-ssl-support, multipart, validation, routing
[1727/90241] Fetching swift-nio-ssl-support, multipart, validation, routing, vapor
[30011/95519] Fetching swift-nio-ssl-support, multipart, validation, routing, vapor, console
Fetched https://github.com/vapor/console.git from cache (0.39s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[38593/90241] Fetching swift-nio-ssl-support, multipart, validation, routing, vapor
[56086/90256] Fetching swift-nio-ssl-support, multipart, validation, routing, vapor, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.28s)
[66177/90241] Fetching swift-nio-ssl-support, multipart, validation, routing, vapor
Fetched https://github.com/vapor/routing.git from cache (0.87s)
[46855/69573] Fetching swift-nio-ssl-support, multipart, validation, vapor
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (1.44s)
Fetched https://github.com/vapor/validation.git from cache (1.44s)
Fetched https://github.com/vapor/multipart.git from cache (1.48s)
Fetched https://github.com/vapor/vapor.git from cache (1.96s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.0.4 (0.42s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.42s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.42s)
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.42s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.48s)
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.43s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.44s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.7 (0.39s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.45s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.2.0 (0.41s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.2.2 (0.52s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.73s)
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.62s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.77s)
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.63s)
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.65s)
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.1
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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.2.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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.0.0
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/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.4
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.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
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.7
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-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-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 CNIOSHA1 c_nio_sha1.c
[30/39] Write sources
[32/39] Compiling CNIOLinux shim.c
[33/39] Compiling libbcrypt bcrypt.c
[34/39] Compiling CNIODarwin shim.c
[35/39] Compiling CNIOHTTPParser c_nio_http_parser.c
[36/39] Compiling libbcrypt blf.c
[37/39] Write swift-version-24593BA9C3E375BF.txt
[39/48] Emitting module COperatingSystem
[39/48] Compiling c-atomics.c
[41/51] Compiling Debugging SourceLocation.swift
[42/51] Compiling NIOConcurrencyHelpers atomics.swift
[43/51] Emitting module NIOConcurrencyHelpers
[44/51] Compiling NIOConcurrencyHelpers lock.swift
[46/52] Compiling NIOPriorityQueue Heap.swift
[47/52] Compiling NIOPriorityQueue PriorityQueue.swift
[48/52] Emitting module NIOPriorityQueue
[50/53] Compiling COperatingSystem libc.swift
[51/54] Compiling Debugging Demangler.swift
[53/54] Emitting module Debugging
[54/54] Compiling Debugging Debuggable.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 EventLoopFuture.swift
[71/108] Compiling NIO FileDescriptor.swift
[72/108] Compiling NIO FileHandle.swift
[73/108] Compiling NIO FileRegion.swift
[74/108] Compiling NIO GetaddrinfoResolver.swift
[75/108] Compiling NIO HappyEyeballs.swift
[76/108] Compiling NIO Heap.swift
[77/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 {
^
[78/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 {
^
[79/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 {
^
[80/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 {
^
[81/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 {
^
[82/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 {
^
[83/108] Compiling NIO ByteBuffer-int.swift
[84/108] Compiling NIO ByteBuffer-views.swift
[85/108] Compiling NIO Channel.swift
[86/108] Compiling NIO ChannelHandler.swift
[87/108] Compiling NIO ChannelHandlers.swift
[88/108] Compiling NIO ChannelInvoker.swift
[89/108] Compiling NIO ChannelOption.swift
[90/108] Compiling NIO SocketAddresses.swift
[91/108] Compiling NIO SocketChannel.swift
[92/108] Compiling NIO System.swift
[93/108] Compiling NIO Thread.swift
[94/108] Compiling NIO TypeAssistedChannelHandler.swift
[95/108] Compiling NIO Utilities.swift
[96/108] Compiling NIO MarkedCircularBuffer.swift
[97/108] Compiling NIO NIOAny.swift
[98/108] Compiling NIO NonBlockingFileIO.swift
[99/108] Compiling NIO PendingDatagramWritesManager.swift
[100/108] Compiling NIO PendingWritesManager.swift
[101/108] Compiling NIO PriorityQueue.swift
[102/108] Compiling NIO ChannelPipeline.swift
[103/108] Compiling NIO CircularBuffer.swift
[104/108] Compiling NIO Codec.swift
[105/108] Compiling NIO CompositeError.swift
[106/108] Compiling NIO DeadChannel.swift
[107/108] Compiling NIO Embedded.swift
[108/108] Compiling NIO EventLoop.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 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 Socket.swift
[7/18] Compiling NIO Bootstrap.swift
[8/18] Compiling NIO ByteBuffer-aux.swift
[9/18] 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 }
^
[10/18] 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 }
^
[11/20] Compiling NIO Channel.swift
[12/21] Compiling NIO SocketChannel.swift
[13/22] Compiling NIO EventLoop.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/23] Compiling NIO BaseSocketChannel.swift
[15/23] Compiling NIO BlockingIOThreadPool.swift
[16/23] 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 }
^
[17/23] Compiling NIO AddressedEnvelope.swift
[18/23] Compiling NIO BaseSocket.swift
[19/29] Compiling NIO GetaddrinfoResolver.swift
[20/29] Compiling NIO HappyEyeballs.swift
[21/39] Compiling NIO PendingDatagramWritesManager.swift
[22/42] Compiling NIO PendingWritesManager.swift
[23/45] Compiling NIO System.swift
[24/48] Compiling NIO IO.swift
[25/48] Compiling NIO IOData.swift
[26/48] Compiling NIO IntegerTypes.swift
[27/49] Compiling NIO EventLoopFuture.swift
[28/49] Compiling NIO FileRegion.swift
[29/49] Compiling NIO Heap.swift
[30/50] Compiling NIO NIOAny.swift
[31/50] Compiling NIO NonBlockingFileIO.swift
[32/50] Compiling NIO PriorityQueue.swift
[33/51] Compiling NIO CompositeError.swift
[34/51] Compiling NIO Interfaces.swift
[35/51] Compiling NIO LinuxCPUSet.swift
[36/51] Compiling NIO MarkedCircularBuffer.swift
[37/52] Compiling NIO Codec.swift
[38/52] Compiling NIO DeadChannel.swift
[39/52] Compiling NIO Embedded.swift
[40/52] Compiling NIO ByteBuffer-int.swift
[41/52] Compiling NIO ByteBuffer-views.swift
[42/52] Compiling NIO ChannelHandler.swift
[43/52] Compiling NIO ChannelHandlers.swift
[44/52] Compiling NIO FileHandle.swift
[45/52] Compiling NIO ChannelInvoker.swift
[46/52] Compiling NIO ChannelPipeline.swift
[47/52] Compiling NIO CircularBuffer.swift
[48/52] Compiling NIO Utilities.swift
[49/52] Compiling NIO Linux.swift
[50/52] Compiling NIO SocketAddresses.swift
[51/52] Compiling NIO Thread.swift
[52/52] Compiling NIO TypeAssistedChannelHandler.swift
error: fatalError
BUILD FAILURE 5.10 linux