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 Seagull, reference master (4c9a7f), with Swift 6.2 (beta) for Linux on 17 Jun 2025 13:51:31 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/gavrilaf/seagull.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/gavrilaf/seagull
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4c9a7f6 Update README.md
Cloned https://github.com/gavrilaf/seagull.git
Revision (git rev-parse @):
4c9a7f6c9cd8d8a306a70c08174eaea77b96e46e
SUCCESS checkout https://github.com/gavrilaf/seagull.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/gavrilaf/seagull.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/gavrilaf/SwiftPerfTool.git
Fetching https://github.com/gavrilaf/SgRouter.git
[1/90] Fetching sgrouter
[53/162] Fetching sgrouter, swiftperftool
[133/2695] Fetching sgrouter, swiftperftool, result
Fetched https://github.com/gavrilaf/SgRouter.git from cache (0.33s)
Fetched https://github.com/antitypical/Result.git from cache (0.33s)
[72/76399] Fetching swiftperftool, swift-nio
Fetched https://github.com/gavrilaf/SwiftPerfTool.git from cache (4.67s)
Fetched https://github.com/apple/swift-nio.git from cache (4.76s)
Computing version for https://github.com/gavrilaf/SwiftPerfTool.git
Computed https://github.com/gavrilaf/SwiftPerfTool.git at 0.1.1 (6.36s)
Computing version for https://github.com/gavrilaf/SgRouter.git
Computed https://github.com/gavrilaf/SgRouter.git at 0.1.1 (0.54s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (2.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.57s)
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.24s)
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.29s)
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/gavrilaf/SwiftPerfTool.git
Working copy of https://github.com/gavrilaf/SwiftPerfTool.git resolved at 0.1.1
Creating working copy for https://github.com/gavrilaf/SgRouter.git
Working copy of https://github.com/gavrilaf/SgRouter.git resolved at 0.1.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.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
Building for debugging...
[0/32] Write sources
[10/32] Compiling CNIOLinux ifaddrs-android.c
[11/32] Compiling CNIODarwin shim.c
[12/32] Compiling CNIOLinux shim.c
[13/32] Compiling CNIOSHA1 c_nio_sha1.c
[14/32] Write swift-version-24593BA9C3E375BF.txt
[15/32] Compiling CNIOZlib empty.c
[16/32] Compiling CNIOHTTPParser c_nio_http_parser.c
[17/51] Compiling c-atomics.c
[19/51] Emitting module SwiftPerfTool
[20/51] Emitting module Result
[21/54] Compiling NIOPriorityQueue PriorityQueue.swift
[22/54] Compiling Result ResultProtocol.swift
[23/54] Emitting module NIOPriorityQueue
[24/54] Compiling NIOPriorityQueue Heap.swift
[25/55] Emitting module NIOConcurrencyHelpers
[26/55] Compiling NIOConcurrencyHelpers atomics.swift
[27/55] Compiling NIOConcurrencyHelpers lock.swift
[28/55] Compiling Result NoError.swift
[29/55] Compiling Result Result.swift
[30/55] Compiling Result AnyError.swift
[31/57] Compiling SwiftPerfTool Scores.swift
[33/57] Compiling SwiftPerfTool SwiftPerfTool.swift
[34/57] Compiling SwiftPerfTool ApproximateEquatable.swift
[37/57] Compiling SgRouter RouterError.swift
[38/57] Compiling SgRouter UriParser.swift
[39/57] Compiling SgRouter Router.swift
[40/57] Compiling SgRouter Node.swift
[41/57] Emitting module SgRouter
[42/58] Compiling SwiftPerfTool Errors.swift
[43/58] Compiling SwiftPerfTool Memory.swift
[44/59] Wrapping AST for NIOPriorityQueue for debugging
[46/59] Wrapping AST for NIOConcurrencyHelpers for debugging
[47/81] Wrapping AST for Result for debugging
[48/109] Wrapping AST for SwiftPerfTool for debugging
[49/109] Wrapping AST for SgRouter for debugging
[51/109] Compiling NIO ByteBuffer-int.swift
[52/109] Compiling NIO ByteBuffer-views.swift
[53/109] Compiling NIO Channel.swift
[54/109] Compiling NIO ChannelHandler.swift
[55/109] Compiling NIO ChannelHandlers.swift
[56/109] Compiling NIO ChannelInvoker.swift
[57/109] Compiling NIO ChannelOption.swift
[58/109] Compiling NIO ChannelPipeline.swift
[59/109] Compiling NIO CircularBuffer.swift
[60/109] Compiling NIO Codec.swift
[61/109] Compiling NIO CompositeError.swift
[62/109] Compiling NIO ContiguousCollection.swift
[63/109] Compiling NIO DeadChannel.swift
[64/109] Compiling NIO Embedded.swift
[65/115] Compiling NIO MarkedCircularBuffer.swift
[66/115] Compiling NIO MulticastChannel.swift
[67/115] Compiling NIO NIOAny.swift
[68/115] Compiling NIO NonBlockingFileIO.swift
[69/115] Compiling NIO PendingDatagramWritesManager.swift
[70/115] Compiling NIO PendingWritesManager.swift
[71/115] Compiling NIO PriorityQueue.swift
[72/115] Compiling NIO Heap.swift
[73/115] Compiling NIO IO.swift
[74/115] Compiling NIO IOData.swift
[75/115] Compiling NIO IntegerTypes.swift
[76/115] Compiling NIO Interfaces.swift
[77/115] Compiling NIO Linux.swift
[78/115] Compiling NIO LinuxCPUSet.swift
[79/115] Compiling NIO EventLoop.swift
[80/115] Compiling NIO EventLoopFuture.swift
[81/115] Compiling NIO FileDescriptor.swift
[82/115] Compiling NIO FileHandle.swift
[83/115] Compiling NIO FileRegion.swift
[84/115] Compiling NIO GetaddrinfoResolver.swift
[85/115] Compiling NIO HappyEyeballs.swift
[86/115] Compiling NIO RecvByteBufferAllocator.swift
[87/115] Compiling NIO Resolver.swift
[88/115] Compiling NIO Selectable.swift
[89/115] Compiling NIO Selector.swift
[90/115] Compiling NIO ServerSocket.swift
[91/115] Compiling NIO Socket.swift
[92/115] Compiling NIO SocketAddresses.swift
[93/115] Emitting module NIO
[94/115] Compiling NIO AddressedEnvelope.swift
[95/115] Compiling NIO BaseSocket.swift
[96/115] Compiling NIO BaseSocketChannel.swift
[97/115] Compiling NIO BlockingIOThreadPool.swift
[98/115] Compiling NIO Bootstrap.swift
[99/115] Compiling NIO ByteBuffer-aux.swift
[100/115] Compiling NIO ByteBuffer-core.swift
[101/115] Compiling NIO SocketChannel.swift
[102/115] Compiling NIO SocketOptionProvider.swift
[103/115] Compiling NIO System.swift
[104/115] Compiling NIO Thread.swift
[105/115] Compiling NIO TypeAssistedChannelHandler.swift
[106/115] Compiling NIO Utilities.swift
[107/116] Wrapping AST for NIO for debugging
[109/125] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[110/126] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[111/126] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[112/126] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[113/126] Compiling NIOHTTP1 HTTPTypes.swift
[114/126] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[115/126] Compiling NIOHTTP1 HTTPEncoder.swift
[116/126] Compiling NIOHTTP1 ByteCollectionUtils.swift
[117/126] Compiling NIOHTTP1 HTTPDecoder.swift
[118/126] Emitting module NIOHTTP1
[119/127] Wrapping AST for NIOHTTP1 for debugging
[121/142] Compiling Seagull SgFileResponse.swift
[122/142] Compiling Seagull SgRequest.swift
[123/144] Compiling Seagull ErrorProvider.swift
/host/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:16:1: warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
 14 | // MARK: -
 15 |
 16 | extension HTTPMethod: Hashable {
    | |- warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 17 |     public var hashValue: Int {
 18 |         switch self {
/host/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:17:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 15 |
 16 | extension HTTPMethod: Hashable {
 17 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 18 |         switch self {
 19 |         case .GET:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[124/144] Compiling Seagull HTTP+Seagull.swift
/host/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:16:1: warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
 14 | // MARK: -
 15 |
 16 | extension HTTPMethod: Hashable {
    | |- warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 17 |     public var hashValue: Int {
 18 |         switch self {
/host/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:17:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 15 |
 16 | extension HTTPMethod: Hashable {
 17 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 18 |         switch self {
 19 |         case .GET:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[125/144] Compiling Seagull SgRequestContext.swift
[126/144] Compiling Seagull SgResult.swift
[127/144] Compiling Seagull RouterGroup.swift
[128/144] Compiling Seagull UriHandler.swift
[129/144] Compiling Seagull Errors.swift
[130/144] Compiling Seagull SgDataResponse.swift
[131/144] Compiling Seagull LogProvider.swift
[132/144] Compiling Seagull NIOHelpers.swift
[133/144] Compiling Seagull Engine.swift
[134/144] Compiling Seagull HTTPHandler.swift
[135/144] Emitting module Seagull
/host/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:16:1: warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
 14 | // MARK: -
 15 |
 16 | extension HTTPMethod: Hashable {
    | |- warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 17 |     public var hashValue: Int {
 18 |         switch self {
/host/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:17:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 15 |
 16 | extension HTTPMethod: Hashable {
 17 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 18 |         switch self {
 19 |         case .GET:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[136/144] Compiling Seagull HttpRouter.swift
[137/144] Compiling Seagull RouteHandler.swift
[138/145] Wrapping AST for Seagull for debugging
[140/151] Compiling SeagullPerfTest main.swift
[141/151] Emitting module SeagullPerfTest
[142/152] Wrapping AST for SeagullPerfTest for debugging
[143/152] Write Objects.LinkFileList
[145/152] Compiling SeagullRestDemo SafeMap.swift
/host/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:17:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |     func set(value: E, forKey key: T) {
16 |         queue.async(flags: .barrier) {
17 |             self.map[key] = value
   |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |         }
19 |     }
/host/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:15:10: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     func set(value: E, forKey key: T) {
   |          `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 |         queue.async(flags: .barrier) {
17 |             self.map[key] = value
/host/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:23:22: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |     func remove(key: T) {
22 |         queue.async(flags: .barrier) {
23 |             self.map.removeValue(forKey: key)
   |                      `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 |         }
25 |     }
/host/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:21:10: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |     }
20 |
21 |     func remove(key: T) {
   |          `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |         queue.async(flags: .barrier) {
23 |             self.map.removeValue(forKey: key)
[146/152] Compiling SeagullRestDemo main.swift
/host/spi-builder-workspace/Sources/Examples/SeagullRestDemo/main.swift:15:9: warning: variable 'router' was never mutated; consider changing to 'let' constant
13 |     print("Starting Seagull base REST server...")
14 |
15 |     var router = HttpRouter()
   |         `- warning: variable 'router' was never mutated; consider changing to 'let' constant
16 |
17 |     try router.GET("/", handler: Handlers.ping)
[147/152] Emitting module SeagullRestDemo
[148/152] Compiling SeagullRestDemo handlers.swift
[149/153] Wrapping AST for SeagullRestDemo for debugging
[150/153] Write Objects.LinkFileList
[151/153] Linking SeagullPerfTest
[152/153] Linking SeagullRestDemo
Build complete! (47.65s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "result",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/antitypical/Result.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swiftperftool",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gavrilaf/SwiftPerfTool.git"
    },
    {
      "identity" : "sgrouter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gavrilaf/SgRouter.git"
    }
  ],
  "manifest_display_name" : "Seagull",
  "name" : "Seagull",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Seagull",
      "targets" : [
        "Seagull"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SeagullRestDemo",
      "targets" : [
        "SeagullRestDemo"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SeagullPerfTest",
      "targets" : [
        "SeagullPerfTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SeagullTests",
      "module_type" : "SwiftTarget",
      "name" : "SeagullTests",
      "path" : "Tests/SeagullTests",
      "sources" : [
        "EngineIntegrationTests.swift",
        "EngineNIOTests.swift",
        "Helpers/Asserts.swift",
        "Helpers/NIO+TestHelpers.swift",
        "Helpers/Resources+TestHelpres.swift",
        "Helpers/Route+TestHelpers.swift",
        "Helpers/TestServer.swift",
        "RouterTests.swift",
        "SgHandlerTests.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SeagullRestDemo",
      "module_type" : "SwiftTarget",
      "name" : "SeagullRestDemo",
      "path" : "Sources/Examples/SeagullRestDemo",
      "product_memberships" : [
        "SeagullRestDemo"
      ],
      "sources" : [
        "SafeMap.swift",
        "handlers.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SeagullPerfTest",
      "module_type" : "SwiftTarget",
      "name" : "SeagullPerfTest",
      "path" : "Sources/Examples/SeagullPerfTest",
      "product_dependencies" : [
        "SwiftPerfTool"
      ],
      "product_memberships" : [
        "SeagullPerfTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Seagull",
      "module_type" : "SwiftTarget",
      "name" : "Seagull",
      "path" : "Sources/Seagull",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOConcurrencyHelpers",
        "Result",
        "SgRouter"
      ],
      "product_memberships" : [
        "Seagull",
        "SeagullRestDemo",
        "SeagullPerfTest"
      ],
      "sources" : [
        "Engine.swift",
        "HTTPHandler.swift",
        "Router/HttpRouter.swift",
        "Router/RouteHandler.swift",
        "Router/RouterGroup.swift",
        "Router/UriHandler.swift",
        "Types/Errors.swift",
        "Types/SgDataResponse.swift",
        "Types/SgFileResponse.swift",
        "Types/SgRequest.swift",
        "Types/SgRequestContext.swift",
        "Types/SgResult.swift",
        "Utils/ErrorProvider.swift",
        "Utils/HTTP+Seagull.swift",
        "Utils/LogProvider.swift",
        "Utils/NIOHelpers.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.