The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MicroExpress, reference master (6cdd4c), with Swift 6.2 (beta) for Linux on 19 Jun 2025 13:05:32 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/MicroExpress.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/helje5/MicroExpress
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6cdd4cb Create LICENSE
Cloned https://github.com/helje5/MicroExpress.git
Revision (git rev-parse @):
6cdd4cbd284fb08fe49464330ff3674465973d73
SUCCESS checkout https://github.com/helje5/MicroExpress.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/helje5/MicroExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (5.72s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.30s)
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.73s)
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/13] Write sources
[5/13] Compiling CNIOLinux ifaddrs-android.c
[5/13] Compiling CNIOZlib empty.c
[7/13] Compiling CNIODarwin shim.c
[8/13] Compiling CNIOSHA1 c_nio_sha1.c
[9/13] Write swift-version-24593BA9C3E375BF.txt
[10/13] Compiling CNIOHTTPParser c_nio_http_parser.c
[11/13] Compiling CNIOLinux shim.c
[12/16] Compiling c-atomics.c
[14/19] Compiling NIOPriorityQueue PriorityQueue.swift
[15/19] Compiling NIOConcurrencyHelpers atomics.swift
[16/19] Emitting module NIOConcurrencyHelpers
[17/19] Compiling NIOConcurrencyHelpers lock.swift
[19/20] Emitting module NIOPriorityQueue
[20/20] Compiling NIOPriorityQueue Heap.swift
[22/71] Compiling NIO ByteBuffer-int.swift
[23/71] Compiling NIO ByteBuffer-views.swift
[24/71] Compiling NIO Channel.swift
[25/71] Compiling NIO ChannelHandler.swift
[26/71] Compiling NIO ChannelHandlers.swift
[27/71] Compiling NIO ChannelInvoker.swift
[28/71] Compiling NIO ChannelOption.swift
[29/77] Compiling NIO MarkedCircularBuffer.swift
[30/77] Compiling NIO MulticastChannel.swift
[31/77] Compiling NIO NIOAny.swift
[32/77] Compiling NIO NonBlockingFileIO.swift
[33/77] Compiling NIO PendingDatagramWritesManager.swift
[34/77] Compiling NIO PendingWritesManager.swift
[35/77] Compiling NIO PriorityQueue.swift
[36/77] Compiling NIO Heap.swift
[37/77] Compiling NIO IO.swift
[38/77] Compiling NIO IOData.swift
[39/77] Compiling NIO IntegerTypes.swift
[40/77] Compiling NIO Interfaces.swift
[41/77] Compiling NIO Linux.swift
[42/77] Compiling NIO LinuxCPUSet.swift
[43/77] Compiling NIO EventLoop.swift
[44/77] Compiling NIO EventLoopFuture.swift
[45/77] Compiling NIO FileDescriptor.swift
[46/77] Compiling NIO FileHandle.swift
[47/77] Compiling NIO FileRegion.swift
[48/77] Compiling NIO GetaddrinfoResolver.swift
[49/77] Compiling NIO HappyEyeballs.swift
[50/77] Compiling NIO ChannelPipeline.swift
[51/77] Compiling NIO CircularBuffer.swift
[52/77] Compiling NIO Codec.swift
[53/77] Compiling NIO CompositeError.swift
[54/77] Compiling NIO ContiguousCollection.swift
[55/77] Compiling NIO DeadChannel.swift
[56/77] Compiling NIO Embedded.swift
[57/77] Compiling NIO RecvByteBufferAllocator.swift
[58/77] Compiling NIO Resolver.swift
[59/77] Compiling NIO Selectable.swift
[60/77] Compiling NIO Selector.swift
[61/77] Compiling NIO ServerSocket.swift
[62/77] Compiling NIO Socket.swift
[63/77] Compiling NIO SocketAddresses.swift
[64/77] Emitting module NIO
[65/77] Compiling NIO AddressedEnvelope.swift
[66/77] Compiling NIO BaseSocket.swift
[67/77] Compiling NIO BaseSocketChannel.swift
[68/77] Compiling NIO BlockingIOThreadPool.swift
[69/77] Compiling NIO Bootstrap.swift
[70/77] Compiling NIO ByteBuffer-aux.swift
[71/77] Compiling NIO ByteBuffer-core.swift
[72/77] Compiling NIO SocketChannel.swift
[73/77] Compiling NIO SocketOptionProvider.swift
[74/77] Compiling NIO System.swift
[75/77] Compiling NIO Thread.swift
[76/77] Compiling NIO TypeAssistedChannelHandler.swift
[77/77] Compiling NIO Utilities.swift
[79/87] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[80/88] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[81/88] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[82/88] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[83/88] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[84/88] Compiling NIOHTTP1 HTTPTypes.swift
[85/88] Compiling NIOHTTP1 HTTPEncoder.swift
[86/88] Compiling NIOHTTP1 ByteCollectionUtils.swift
[87/88] Compiling NIOHTTP1 HTTPDecoder.swift
[88/88] Emitting module NIOHTTP1
[90/97] Compiling MicroExpress IncomingMessage.swift
[91/97] Compiling MicroExpress Router.swift
/host/spi-builder-workspace/Sources/MicroExpress/Router.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 |   /// Register a middleware which triggers on a `GET`
40 |   /// with a specific path prefix.
41 |   public func get(_ path: String = "",
   |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 |                   middleware: @escaping Middleware)
43 |   {
[92/97] Compiling MicroExpress CORS.swift
[93/97] Emitting module MicroExpress
/host/spi-builder-workspace/Sources/MicroExpress/Express.swift:12:5: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)' [#DeprecatedDeclaration]
10 |
11 |   let loopGroup =
12 |     MultiThreadedEventLoopGroup(numThreads: System.coreCount)
   |     |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)' [#DeprecatedDeclaration]
   |     `- note: use 'init(numberOfThreads:)' instead
13 |
14 |   open func listen(_ port: Int) {
/host/spi-builder-workspace/Sources/MicroExpress/Router.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 |   /// Register a middleware which triggers on a `GET`
40 |   /// with a specific path prefix.
41 |   public func get(_ path: String = "",
   |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 |                   middleware: @escaping Middleware)
43 |   {
/host/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:62:3: warning: 'public' modifier is redundant for subscript declared in a public extension
 60 |   /// A more convenient header accessor. Not correct for
 61 |   /// any header.
 62 |   public subscript(name: String) -> String? {
    |   `- warning: 'public' modifier is redundant for subscript declared in a public extension
 63 |     set {
 64 |       assert(!didWriteHeader, "header is out!")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[94/97] Compiling MicroExpress Express.swift
/host/spi-builder-workspace/Sources/MicroExpress/Express.swift:12:5: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)' [#DeprecatedDeclaration]
10 |
11 |   let loopGroup =
12 |     MultiThreadedEventLoopGroup(numThreads: System.coreCount)
   |     |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)' [#DeprecatedDeclaration]
   |     `- note: use 'init(numberOfThreads:)' instead
13 |
14 |   open func listen(_ port: Int) {
/host/spi-builder-workspace/Sources/MicroExpress/Express.swift:23:26: warning: 'addHTTPServerHandlers(first:)' is deprecated: Please use configureHTTPServerPipeline [#DeprecatedDeclaration]
21 |
22 |       .childChannelInitializer { channel in
23 |         channel.pipeline.addHTTPServerHandlers().then {
   |                          `- warning: 'addHTTPServerHandlers(first:)' is deprecated: Please use configureHTTPServerPipeline [#DeprecatedDeclaration]
24 |           channel.pipeline.add(handler:
25 |             HTTPHandler(router: self))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[95/97] Compiling MicroExpress QueryString.swift
/host/spi-builder-workspace/Sources/MicroExpress/QueryString.swift:24:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
22 |     req.userInfo[paramDictKey] =
23 |       Dictionary(grouping: queryItems, by: { $0.name })
24 |         .mapValues { $0.flatMap({ $0.value })
   |                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |                         `- note: use 'compactMap(_:)' instead
25 | 	               .joined(separator: ",") }
26 |   }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[96/97] Compiling MicroExpress Middleware.swift
[97/97] Compiling MicroExpress ServerResponse.swift
/host/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:62:3: warning: 'public' modifier is redundant for subscript declared in a public extension
 60 |   /// A more convenient header accessor. Not correct for
 61 |   /// any header.
 62 |   public subscript(name: String) -> String? {
    |   `- warning: 'public' modifier is redundant for subscript declared in a public extension
 63 |     set {
 64 |       assert(!didWriteHeader, "header is out!")
Build complete! (37.31s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "MicroExpress",
  "name" : "MicroExpress",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MicroExpress",
      "targets" : [
        "MicroExpress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MicroExpress",
      "module_type" : "SwiftTarget",
      "name" : "MicroExpress",
      "path" : "Sources/MicroExpress",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1"
      ],
      "product_memberships" : [
        "MicroExpress"
      ],
      "sources" : [
        "CORS.swift",
        "Express.swift",
        "IncomingMessage.swift",
        "Middleware.swift",
        "QueryString.swift",
        "Router.swift",
        "ServerResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.