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 SwiftNIOMock, reference master (cc14a0), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 00:34:18 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/ilyapuchka/SwiftNIOMock.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ilyapuchka/SwiftNIOMock
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cc14a07 update readme
Cloned https://github.com/ilyapuchka/SwiftNIOMock.git
Revision (git rev-parse @):
cc14a07e137597194d439cfbb3ca7b6b99701ccb
SUCCESS checkout https://github.com/ilyapuchka/SwiftNIOMock.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ilyapuchka/SwiftNIOMock.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/16] Write sources
[8/16] Write swift-version-1EA4D86E10B52AF.txt
[9/16] Compiling CNIOLinux ifaddrs-android.c
[9/16] Compiling CNIOZlib empty.c
[11/16] Compiling CNIOLinux shim.c
[12/53] Compiling CNIOHTTPParser c_nio_http_parser.c
[13/53] Compiling CNIODarwin shim.c
[14/53] Compiling CNIOSHA1 c_nio_sha1.c
[16/53] Compiling NIOPriorityQueue Heap.swift
[17/53] Emitting module NIOPriorityQueue
[18/53] Compiling NIOPriorityQueue PriorityQueue.swift
[18/53] Compiling c-atomics.c
[20/56] Compiling NIOConcurrencyHelpers lock.swift
[21/56] Emitting module NIOConcurrencyHelpers
[22/56] Compiling NIOConcurrencyHelpers atomics.swift
[23/107] Compiling NIO ByteBuffer-int.swift
[24/107] Compiling NIO ByteBuffer-views.swift
[25/107] Compiling NIO Channel.swift
[26/107] Compiling NIO ChannelHandler.swift
[27/110] Compiling Prelude Strong.swift
[28/110] Compiling Prelude Tuple.swift
[29/110] Compiling Prelude Unit.swift
[30/110] Compiling NIO IOData.swift
[31/110] Compiling NIO IntegerTypes.swift
[32/110] Compiling NIO Interfaces.swift
[33/110] Compiling NIO Linux.swift
[34/110] Compiling NIO LinuxCPUSet.swift
[35/115] Compiling NIO FileHandle.swift
[36/115] Compiling NIO FileRegion.swift
[37/115] Compiling NIO GetaddrinfoResolver.swift
[38/115] Compiling NIO HappyEyeballs.swift
[39/115] Compiling NIO Heap.swift
[40/115] Compiling NIO IO.swift
[41/115] Emitting module NIO
[44/115] Compiling NIO NIOAny.swift
[45/115] Compiling NIO NonBlockingFileIO.swift
[46/115] Compiling NIO PendingDatagramWritesManager.swift
[47/115] Compiling NIO ContiguousCollection.swift
[48/115] Compiling NIO DeadChannel.swift
[49/115] Compiling NIO Embedded.swift
[50/115] Compiling NIO EventLoop.swift
[51/115] Compiling NIO EventLoopFuture.swift
[52/115] Compiling NIO FileDescriptor.swift
[53/115] Compiling NIO ChannelInvoker.swift
[54/115] Compiling NIO ChannelOption.swift
[55/115] Compiling NIO ChannelPipeline.swift
[56/115] Compiling NIO CircularBuffer.swift
[57/115] Compiling NIO Codec.swift
[58/115] Compiling NIO CompositeError.swift
[59/115] Compiling NIO ByteBuffer-core.swift
[65/115] Compiling NIO AddressedEnvelope.swift
[66/115] Compiling NIO BaseSocket.swift
[67/115] Compiling NIO BaseSocketChannel.swift
[68/115] Compiling NIO BlockingIOThreadPool.swift
[69/115] Compiling NIO Bootstrap.swift
[70/115] Compiling NIO ByteBuffer-aux.swift
[71/115] Compiling NIO SocketOptionProvider.swift
[72/115] Compiling NIO System.swift
[73/115] Compiling NIO Thread.swift
[74/115] Compiling NIO TypeAssistedChannelHandler.swift
[75/115] Compiling NIO Utilities.swift
[78/115] Compiling NIO PendingWritesManager.swift
[83/115] Emitting module Prelude
[84/115] Compiling NIO Selector.swift
[85/115] Compiling NIO ServerSocket.swift
[86/115] Compiling NIO Socket.swift
[87/115] Compiling NIO SocketAddresses.swift
[88/115] Compiling NIO SocketChannel.swift
[95/115] Compiling NIO PriorityQueue.swift
[96/115] Compiling NIO RecvByteBufferAllocator.swift
[97/115] Compiling NIO Resolver.swift
[98/115] Compiling NIO Selectable.swift
[116/132] Compiling CommonParsers Parenthesize.swift
[117/132] Compiling CommonParsers Template.swift
[118/132] Compiling CommonParsers Parser.swift
[119/132] Compiling CommonParsers Matchable.swift
[120/132] Emitting module CommonParsers
[121/132] Compiling CommonParsers Format.swift
[122/132] Compiling CommonParsers PartialIso.swift
[123/134] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[124/134] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[125/134] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[126/134] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[127/134] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[128/134] Compiling NIOHTTP1 HTTPTypes.swift
[129/134] Compiling NIOHTTP1 HTTPEncoder.swift
[130/134] Emitting module NIOHTTP1
[131/134] Compiling NIOHTTP1 ByteCollectionUtils.swift
[132/134] Compiling NIOHTTP1 HTTPDecoder.swift
[133/134] Emitting module URLFormat
[134/134] Compiling URLFormat URLFormat.swift
[135/138] Compiling SwiftNIOMock Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:39:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
37 | }
38 |
39 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
40 | public struct ServiceRouterBuilder {
41 |     public typealias RouteClosure<S: Service> = (S) -> Middleware
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:58:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
56 | }
57 |
58 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
59 | public struct RouterBuilder {
60 |     public static func buildBlock(_ items: Middleware...) -> Middleware {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:22:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
20 | }
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:23:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:24:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:25:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:26:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
27 |
28 | public extension ServiceProtocol where Self: Service {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
[136/138] Emitting module SwiftNIOMock
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:39:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
37 | }
38 |
39 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
40 | public struct ServiceRouterBuilder {
41 |     public typealias RouteClosure<S: Service> = (S) -> Middleware
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:58:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
56 | }
57 |
58 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
59 | public struct RouterBuilder {
60 |     public static func buildBlock(_ items: Middleware...) -> Middleware {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:22:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
20 | }
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:23:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
21 |
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:24:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
22 | public let GET = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.GET)))
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:25:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
23 | public let PUT = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PUT)))
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNIOMock/Service.swift:26:12: warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
24 | public let POST = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.POST)))
25 | public let PATCH = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.PATCH)))
26 | public let DELETE = ClosedPathFormat(httpMethod(String(describing: HTTPMethod.DELETE)))
   |            `- warning: cannot use struct 'Unit' here; 'Prelude' was not imported by this file
27 |
28 | public extension ServiceProtocol where Self: Service {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-prelude/Sources/Prelude/Unit.swift:1:15: note: struct declared here
 1 | public struct Unit: Codable {}
   |               `- note: struct declared here
 2 |
 3 | public let unit = Unit()
[137/138] Compiling SwiftNIOMock Server.swift
[138/138] Compiling SwiftNIOMock Router.swift
Build complete! (20.52s)
Fetching https://github.com/ilyapuchka/URLFormat.git
[1/118] Fetching urlformat
Fetched https://github.com/ilyapuchka/URLFormat.git from cache (0.65s)
Fetching https://github.com/ilyapuchka/common-parsers.git
[1/72] Fetching common-parsers
Fetched https://github.com/ilyapuchka/common-parsers.git from cache (0.67s)
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3298] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.96s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (4.18s)
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.52s)
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.02s)
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/ilyapuchka/URLFormat.git
Working copy of https://github.com/ilyapuchka/URLFormat.git resolved at master (0f50393)
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at master (b4ceef2)
Creating working copy for https://github.com/ilyapuchka/common-parsers.git
Working copy of https://github.com/ilyapuchka/common-parsers.git resolved at master (fb6f45c)
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.12.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "urlformat",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ilyapuchka/URLFormat.git"
    }
  ],
  "manifest_display_name" : "SwiftNIOMock",
  "name" : "SwiftNIOMock",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftNIOMock",
      "targets" : [
        "SwiftNIOMock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNIOMockTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNIOMockTests",
      "path" : "Tests/SwiftNIOMockTests",
      "sources" : [
        "SwiftNIOMockTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftNIOMock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNIOMock",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNIOMock",
      "path" : "Sources/SwiftNIOMock",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "URLFormat"
      ],
      "product_memberships" : [
        "SwiftNIOMock"
      ],
      "sources" : [
        "Router.swift",
        "Server.swift",
        "Service.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.