The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MicroExpress with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/MicroExpress.git
Reference: master
Cloned https://github.com/helje5/MicroExpress.git into spi-builder-workspace
SUCCESS checkout https://github.com/helje5/MicroExpress.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git (5.04s)
Fetched https://github.com/apple/swift-nio.git (5.11s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.1.0 (0.34s)
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.30s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.1.0
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-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/5] Compiling CNIOZlib empty.c
[1/5] Compiling CNIODarwin shim.c
[2/5] Compiling CNIOLinux shim.c
[3/6] Compiling CNIOHTTPParser c_nio_http_parser.c
[5/8] Compiling NIOPriorityQueue PriorityQueue.swift
[6/8] Emitting module NIOPriorityQueue
[7/8] Compiling NIOPriorityQueue Heap.swift
[9/10] Compiling c-atomics.c
[11/13] Compiling NIOConcurrencyHelpers lock.swift
[12/13] Emitting module NIOConcurrencyHelpers
[13/13] Compiling NIOConcurrencyHelpers atomics.swift
[16/58] Compiling NIO AddressedEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575: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:575: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                                ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                               !
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                      ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                     !
[17/58] Compiling NIO BaseSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575: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:575: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                                ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                               !
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                      ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                     !
[18/58] Compiling NIO BlockingIOThreadPool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575: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:575: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                                ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                               !
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                      ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                     !
[19/58] Compiling NIO Bootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575: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:575: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                                ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                               !
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                      ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                     !
[20/58] Compiling NIO ByteBuffer-aux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575: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:575: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                                ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                               !
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                      ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                     !
[21/58] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575: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:575: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                                ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:42:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        self.init(hookedMalloc: { sysMalloc($0) },
                                  ^
                                               !
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                      ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:43:36: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                  hookedRealloc: { sysRealloc($0, $1) },
                                   ^
                                                     !
[22/63] Compiling NIO ByteBuffer-int.swift
[23/63] Compiling NIO Channel.swift
[24/63] Compiling NIO ChannelHandler.swift
[25/63] Compiling NIO ChannelHandlers.swift
[26/63] Compiling NIO ChannelInvoker.swift
[27/63] Compiling NIO ChannelOption.swift
[28/63] Compiling NIO HappyEyeballs.swift
[29/63] Compiling NIO IO.swift
[30/63] Compiling NIO IOData.swift
[31/63] Compiling NIO Interfaces.swift
[32/63] Compiling NIO Linux.swift
[33/63] Compiling NIO LinuxCPUSet.swift
[34/63] Compiling NIO Resolver.swift
[35/63] Compiling NIO Selectable.swift
[36/63] Compiling NIO Selector.swift
[37/63] Compiling NIO ServerSocket.swift
[38/63] Compiling NIO Socket.swift
[39/63] Compiling NIO SocketAddresses.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/63] Compiling NIO MarkedCircularBuffer.swift
[41/63] Compiling NIO NIOAny.swift
[42/63] Compiling NIO NonBlockingFileIO.swift
[43/63] Compiling NIO PendingDatagramWritesManager.swift
[44/63] Compiling NIO PendingWritesManager.swift
[45/63] Compiling NIO RecvByteBufferAllocator.swift
[46/63] Compiling NIO ChannelPipeline.swift
[47/63] Compiling NIO CircularBuffer.swift
[48/63] Compiling NIO Codec.swift
[49/63] Compiling NIO CompositeError.swift
[50/63] Compiling NIO DeadChannel.swift
[51/63] Compiling NIO Embedded.swift
[52/63] Compiling NIO EventLoop.swift
[53/63] Compiling NIO EventLoopFuture.swift
[54/63] Compiling NIO FileDescriptor.swift
[55/63] Compiling NIO FileHandle.swift
[56/63] Compiling NIO FileRegion.swift
[57/63] Compiling NIO GetaddrinfoResolver.swift
[58/63] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:575: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:575: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/63] Compiling NIO SocketChannel.swift
[60/63] Compiling NIO System.swift
[61/63] Compiling NIO Thread.swift
[62/63] Compiling NIO TypeAssistedChannelHandler.swift
[63/63] Compiling NIO Utilities.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1