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 macOS (SPM) on 19 Jun 2025 13:13:33 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/helje5/MicroExpress.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-1EA4D86E10B52AF.txt
[6/13] Compiling CNIOZlib empty.c
[6/13] Compiling CNIOLinux ifaddrs-android.c
[7/13] Compiling CNIOLinux shim.c
[9/16] Compiling CNIOHTTPParser c_nio_http_parser.c
[10/16] Compiling CNIODarwin shim.c
[11/16] Compiling CNIOSHA1 c_nio_sha1.c
[13/16] Compiling NIOPriorityQueue PriorityQueue.swift
[14/16] Compiling NIOPriorityQueue Heap.swift
[15/16] Emitting module NIOPriorityQueue
[15/16] Compiling c-atomics.c
[17/19] Compiling NIOConcurrencyHelpers lock.swift
[18/19] Emitting module NIOConcurrencyHelpers
[19/19] Compiling NIOConcurrencyHelpers atomics.swift
[20/70] Compiling NIO IOData.swift
[21/70] Compiling NIO IntegerTypes.swift
[22/70] Compiling NIO Interfaces.swift
[23/70] Compiling NIO Linux.swift
[24/70] Compiling NIO LinuxCPUSet.swift
[25/75] Compiling NIO MarkedCircularBuffer.swift
[26/75] Compiling NIO MulticastChannel.swift
[27/75] Compiling NIO NIOAny.swift
[28/75] Compiling NIO NonBlockingFileIO.swift
[29/75] Compiling NIO PendingDatagramWritesManager.swift
[30/75] Compiling NIO ChannelInvoker.swift
[31/75] Compiling NIO ChannelOption.swift
[32/75] Compiling NIO ChannelPipeline.swift
[33/75] Compiling NIO CircularBuffer.swift
[34/75] Compiling NIO Codec.swift
[35/75] Compiling NIO CompositeError.swift
[36/75] Compiling NIO ContiguousCollection.swift
[37/75] Compiling NIO DeadChannel.swift
[38/75] Compiling NIO Embedded.swift
[39/75] Compiling NIO EventLoop.swift
[40/75] Compiling NIO EventLoopFuture.swift
[41/75] Compiling NIO FileDescriptor.swift
[42/75] Emitting module NIO
[43/75] Compiling NIO AddressedEnvelope.swift
[44/75] Compiling NIO BaseSocket.swift
[45/75] Compiling NIO BaseSocketChannel.swift
[46/75] Compiling NIO BlockingIOThreadPool.swift
[47/75] Compiling NIO Bootstrap.swift
[48/75] Compiling NIO ByteBuffer-aux.swift
[49/75] Compiling NIO FileHandle.swift
[50/75] Compiling NIO FileRegion.swift
[51/75] Compiling NIO GetaddrinfoResolver.swift
[52/75] Compiling NIO HappyEyeballs.swift
[53/75] Compiling NIO Heap.swift
[54/75] Compiling NIO IO.swift
[55/75] Compiling NIO ByteBuffer-core.swift
[56/75] Compiling NIO ByteBuffer-int.swift
[57/75] Compiling NIO ByteBuffer-views.swift
[58/75] Compiling NIO Channel.swift
[59/75] Compiling NIO ChannelHandler.swift
[60/75] Compiling NIO ChannelHandlers.swift
[61/75] Compiling NIO PendingWritesManager.swift
[62/75] Compiling NIO PriorityQueue.swift
[63/75] Compiling NIO RecvByteBufferAllocator.swift
[64/75] Compiling NIO Resolver.swift
[65/75] Compiling NIO Selectable.swift
[66/75] Compiling NIO SocketOptionProvider.swift
[67/75] Compiling NIO System.swift
[68/75] Compiling NIO Thread.swift
[69/75] Compiling NIO TypeAssistedChannelHandler.swift
[70/75] Compiling NIO Utilities.swift
[71/75] Compiling NIO Selector.swift
[72/75] Compiling NIO ServerSocket.swift
[73/75] Compiling NIO Socket.swift
[74/75] Compiling NIO SocketAddresses.swift
[75/75] Compiling NIO SocketChannel.swift
[76/85] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[77/85] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[78/85] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[79/85] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[80/85] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[81/85] Compiling NIOHTTP1 HTTPEncoder.swift
[82/85] Compiling NIOHTTP1 HTTPTypes.swift
[83/85] Compiling NIOHTTP1 ByteCollectionUtils.swift
[84/85] Compiling NIOHTTP1 HTTPDecoder.swift
[85/85] Emitting module NIOHTTP1
[86/93] Compiling MicroExpress Middleware.swift
[87/93] Compiling MicroExpress Router.swift
/Users/admin/builder/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 |   {
[88/93] Compiling MicroExpress Express.swift
/Users/admin/builder/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) {
/Users/admin/builder/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>
[89/93] Compiling MicroExpress QueryString.swift
/Users/admin/builder/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>
[90/93] Compiling MicroExpress CORS.swift
[91/93] Emitting module MicroExpress
/Users/admin/builder/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) {
/Users/admin/builder/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 |   {
/Users/admin/builder/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>
[92/93] Compiling MicroExpress IncomingMessage.swift
[93/93] Compiling MicroExpress ServerResponse.swift
/Users/admin/builder/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! (13.68s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (4.30s)
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.58s)
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 (1.10s)
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
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
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
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" : "/Users/admin/builder/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"
}
Done.