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 SwiftEngine, reference master (8cdc39), with Swift 6.2 (beta) for Linux on 18 Jun 2025 05:26:35 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/swiftengine/swiftengine.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/swiftengine/swiftengine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8cdc398 Update README.md
Cloned https://github.com/swiftengine/swiftengine.git
Revision (git rev-parse @):
8cdc39859492fdf810db8a1b2dfa142bd97c3042
SUCCESS checkout https://github.com/swiftengine/swiftengine.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftengine/swiftengine.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (5.95s)
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 (1.94s)
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 (2.35s)
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/28] Write sources
[8/28] Compiling CNIOLinux ifaddrs-android.c
[9/28] Compiling CNIOZlib empty.c
[10/28] Compiling CNIODarwin shim.c
[11/28] Compiling CNIOLinux shim.c
[12/28] Compiling CNIOSHA1 c_nio_sha1.c
[13/28] Compiling CNIOHTTPParser c_nio_http_parser.c
[14/28] Write swift-version-24593BA9C3E375BF.txt
[15/39] Compiling c-atomics.c
[17/42] Emitting module NIOConcurrencyHelpers
[18/42] Compiling NIOPriorityQueue PriorityQueue.swift
[19/42] Compiling NIOConcurrencyHelpers atomics.swift
[20/42] Compiling NIOConcurrencyHelpers lock.swift
[22/43] Emitting module NIOPriorityQueue
[23/43] Compiling NIOPriorityQueue Heap.swift
[23/44] Wrapping AST for NIOConcurrencyHelpers for debugging
[25/44] Compiling SEProcessorLib SECommon.swift
[27/44] Compiling SEProcessorLib SEResponse.swift
[28/44] Compiling SEProcessorLib SEShell.swift
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:46:8: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 44 |         task.environment = env
 45 |         var vArgs = args
 46 | 		task.launchPath = vArgs[0] //"/usr/bin/env"
    |        |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
    |        `- note: use 'executableURL' instead
 47 |         vArgs.remove(at:0)
 48 | 		task.arguments = vArgs
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:49:8: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
 47 |         vArgs.remove(at:0)
 48 | 		task.arguments = vArgs
 49 | 		task.launch()
    |        |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
    |        `- note: use 'run' instead
 50 | 		task.waitUntilExit()
 51 |
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:86:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 84 |         task.standardError = pipeStdErr
 85 |
 86 |         task.launchPath = "/usr/bin/env"
    |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
    |              `- note: use 'executableURL' instead
 87 |         task.arguments = ["/bin/bash","-c", cmd]//args
 88 |         task.launch()
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:88:14: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
 86 |         task.launchPath = "/usr/bin/env"
 87 |         task.arguments = ["/bin/bash","-c", cmd]//args
 88 |         task.launch()
    |              |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
    |              `- note: use 'run' instead
 89 |         task.waitUntilExit()
 90 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/44] Compiling SEProcessorLib SERoute.swift
[29/44] Wrapping AST for NIOPriorityQueue for debugging
[31/44] Compiling SEProcessorLib ContentType.swift
[32/71] Compiling SEProcessorLib SEGlobals.swift
[33/71] Compiling SEProcessorLib SECompiler.swift
[34/71] Emitting module SEProcessorLib
[35/95] Wrapping AST for SEProcessorLib for debugging
[37/97] Emitting module SEProcessor
[38/97] Compiling SEProcessor main.swift
[39/98] Wrapping AST for SEProcessor for debugging
[40/98] Write Objects.LinkFileList
[41/98] Linking SEProcessor
[43/98] Compiling NIO ByteBuffer-int.swift
[44/98] Compiling NIO ByteBuffer-views.swift
[45/98] Compiling NIO Channel.swift
[46/98] Compiling NIO ChannelHandler.swift
[47/98] Compiling NIO ChannelHandlers.swift
[48/98] Compiling NIO ChannelInvoker.swift
[49/98] Compiling NIO ChannelOption.swift
[50/104] Compiling NIO MarkedCircularBuffer.swift
[51/104] Compiling NIO MulticastChannel.swift
[52/104] Compiling NIO NIOAny.swift
[53/104] Compiling NIO NonBlockingFileIO.swift
[54/104] Compiling NIO PendingDatagramWritesManager.swift
[55/104] Compiling NIO PendingWritesManager.swift
[56/104] Compiling NIO PriorityQueue.swift
[57/104] Compiling NIO Heap.swift
[58/104] Compiling NIO IO.swift
[59/104] Compiling NIO IOData.swift
[60/104] Compiling NIO IntegerTypes.swift
[61/104] Compiling NIO Interfaces.swift
[62/104] Compiling NIO Linux.swift
[63/104] Compiling NIO LinuxCPUSet.swift
[64/104] Compiling NIO EventLoop.swift
[65/104] Compiling NIO EventLoopFuture.swift
[66/104] Compiling NIO FileDescriptor.swift
[67/104] Compiling NIO FileHandle.swift
[68/104] Compiling NIO FileRegion.swift
[69/104] Compiling NIO GetaddrinfoResolver.swift
[70/104] Compiling NIO HappyEyeballs.swift
[71/104] Compiling NIO RecvByteBufferAllocator.swift
[72/104] Compiling NIO Resolver.swift
[73/104] Compiling NIO Selectable.swift
[74/104] Compiling NIO Selector.swift
[75/104] Compiling NIO ServerSocket.swift
[76/104] Compiling NIO Socket.swift
[77/104] Compiling NIO SocketAddresses.swift
[78/104] Compiling NIO ChannelPipeline.swift
[79/104] Compiling NIO CircularBuffer.swift
[80/104] Compiling NIO Codec.swift
[81/104] Compiling NIO CompositeError.swift
[82/104] Compiling NIO ContiguousCollection.swift
[83/104] Compiling NIO DeadChannel.swift
[84/104] Compiling NIO Embedded.swift
[85/104] Emitting module NIO
[86/104] Compiling NIO AddressedEnvelope.swift
[87/104] Compiling NIO BaseSocket.swift
[88/104] Compiling NIO BaseSocketChannel.swift
[89/104] Compiling NIO BlockingIOThreadPool.swift
[90/104] Compiling NIO Bootstrap.swift
[91/104] Compiling NIO ByteBuffer-aux.swift
[92/104] Compiling NIO ByteBuffer-core.swift
[93/104] Compiling NIO SocketChannel.swift
[94/104] Compiling NIO SocketOptionProvider.swift
[95/104] Compiling NIO System.swift
[96/104] Compiling NIO Thread.swift
[97/104] Compiling NIO TypeAssistedChannelHandler.swift
[98/104] Compiling NIO Utilities.swift
[99/105] Wrapping AST for NIO for debugging
[101/116] Emitting module NIOFoundationCompat
[102/116] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[103/117] Wrapping AST for NIOFoundationCompat for debugging
[105/117] Compiling NIOHTTP1 HTTPEncoder.swift
[106/118] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[107/118] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[108/118] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[109/118] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[110/118] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[111/118] Compiling NIOHTTP1 HTTPTypes.swift
[112/118] Compiling NIOHTTP1 ByteCollectionUtils.swift
[113/118] Compiling NIOHTTP1 HTTPDecoder.swift
[114/118] Emitting module NIOHTTP1
[115/119] Wrapping AST for NIOHTTP1 for debugging
[117/127] Compiling SwiftEngineServer SocketAddress+IP.swift
[118/128] Compiling SwiftEngineServer SEShell.swift
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEShell.swift:42:18: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 40 |             }
 41 |         #elseif os(Linux)
 42 |             task.launchPath = "/usr/bin/env"
    |                  |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
    |                  `- note: use 'executableURL' instead
 43 |             task.launch()
 44 |         #endif
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEShell.swift:43:18: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
 41 |         #elseif os(Linux)
 42 |             task.launchPath = "/usr/bin/env"
 43 |             task.launch()
    |                  |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
    |                  `- note: use 'run' instead
 44 |         #endif
 45 |         task.waitUntilExit()
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEShell.swift:84:22: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 82 |                 }
 83 |             #elseif os(Linux)
 84 |                 task.launchPath = "/usr/bin/env"
    |                      |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
    |                      `- note: use 'executableURL' instead
 85 |                 task.launch()
 86 |             #endif
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEShell.swift:85:22: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
 83 |             #elseif os(Linux)
 84 |                 task.launchPath = "/usr/bin/env"
 85 |                 task.launch()
    |                      |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
    |                      `- note: use 'run' instead
 86 |             #endif
 87 |             task.waitUntilExit()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[119/128] Compiling SwiftEngineServer SEMiddlewareHandler.swift
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:8:10: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
 6 | 	case request(RequestT)
 7 | 	case response(ResponseT)
 8 | 	case end()
   |          |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
   |          |- note: did you mean to remove the empty associated value list?
   |          `- note: did you mean to explicitly add a 'Void' associated value?
 9 | }
10 |
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:81:13: warning: variable 'string' was never mutated; consider changing to 'let' constant
79 |     public func close(ctx: ChannelHandlerContext, mode: CloseMode, promise: EventLoopPromise<Void>?) {
80 |         track()
81 |         var string = "HTTP/1.1 200 OK\ncontent-length: 12\n\nHello World!"
   |             `- warning: variable 'string' was never mutated; consider changing to 'let' constant
82 |         var buf = ctx.channel.allocator.buffer(capacity: string.utf8.count)
83 |         buf.set(string: string, at: 0)
[120/128] Compiling SwiftEngineServer SELogger.swift
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:8:10: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
 6 | 	case request(RequestT)
 7 | 	case response(ResponseT)
 8 | 	case end()
   |          |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
   |          |- note: did you mean to remove the empty associated value list?
   |          `- note: did you mean to explicitly add a 'Void' associated value?
 9 | }
10 |
[121/128] Compiling SwiftEngineServer SEHTTPHandler.swift
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:8:10: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
 6 | 	case request(RequestT)
 7 | 	case response(ResponseT)
 8 | 	case end()
   |          |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
   |          |- note: did you mean to remove the empty associated value list?
   |          `- note: did you mean to explicitly add a 'Void' associated value?
 9 | }
10 |
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEHTTPHandler.swift:70:95: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
 68 |                 let success = FileManager.default.createFile(atPath: self.requestBodyFilePath, contents: nil, attributes: nil)
 69 |                 if (!success) {
 70 |                     SELogger.logUnexpectedCrash("Could not create tmp request body file at: \(self.requestBodyFilePath). Please check permission settings.")
    |                                                                                               |    |- note: provide a default value to avoid this warning
    |                                                                                               |    `- note: use 'String(describing:)' to silence this warning
    |                                                                                               `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
 71 |                 }
 72 |                 self.requestBodyFileHandle = FileHandle(forWritingAtPath: self.requestBodyFilePath)
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEHTTPHandler.swift:170:18: warning: variable 'stdOut' was never mutated; consider changing to 'let' constant
168 |
169 |             // Run it
170 |             var (stdOut, stdErr, status) = SEShell.run(args, envVars: envVars)
    |                  `- warning: variable 'stdOut' was never mutated; consider changing to 'let' constant
171 |
172 |             let output = (status == 0 ? stdOut : stdErr)
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEHTTPHandler.swift:170:26: warning: variable 'stdErr' was never mutated; consider changing to 'let' constant
168 |
169 |             // Run it
170 |             var (stdOut, stdErr, status) = SEShell.run(args, envVars: envVars)
    |                          `- warning: variable 'stdErr' was never mutated; consider changing to 'let' constant
171 |
172 |             let output = (status == 0 ? stdOut : stdErr)
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEHTTPHandler.swift:170:34: warning: variable 'status' was never mutated; consider changing to 'let' constant
168 |
169 |             // Run it
170 |             var (stdOut, stdErr, status) = SEShell.run(args, envVars: envVars)
    |                                  `- warning: variable 'status' was never mutated; consider changing to 'let' constant
171 |
172 |             let output = (status == 0 ? stdOut : stdErr)
[122/128] Compiling SwiftEngineServer main.swift
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:8:10: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
 6 | 	case request(RequestT)
 7 | 	case response(ResponseT)
 8 | 	case end()
   |          |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
   |          |- note: did you mean to remove the empty associated value list?
   |          `- note: did you mean to explicitly add a 'Void' associated value?
 9 | }
10 |
[123/128] Compiling SwiftEngineServer ByteBuffer+ForString.swift
[124/128] Emitting module SwiftEngineServer
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:8:10: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
 6 | 	case request(RequestT)
 7 | 	case response(ResponseT)
 8 | 	case end()
   |          |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
   |          |- note: did you mean to remove the empty associated value list?
   |          `- note: did you mean to explicitly add a 'Void' associated value?
 9 | }
10 |
[125/128] Compiling SwiftEngineServer HTTPHandler.swift
/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:8:10: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
 6 | 	case request(RequestT)
 7 | 	case response(ResponseT)
 8 | 	case end()
   |          |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
   |          |- note: did you mean to remove the empty associated value list?
   |          `- note: did you mean to explicitly add a 'Void' associated value?
 9 | }
10 |
[126/129] Wrapping AST for SwiftEngineServer for debugging
[127/129] Write Objects.LinkFileList
[128/129] Linking SwiftEngineServer
Build complete! (48.43s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "SwiftEngine",
  "name" : "SwiftEngine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftEngineServer",
      "targets" : [
        "SwiftEngineServer"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SEProcessor",
      "targets" : [
        "SEProcessor"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftEngineServerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftEngineServerTests",
      "path" : "Tests/SwiftEngineServerTests",
      "sources" : [
        "SwiftEngineTests.swift"
      ],
      "target_dependencies" : [
        "SwiftEngineServer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftEngineServer",
      "module_type" : "SwiftTarget",
      "name" : "SwiftEngineServer",
      "path" : "Sources/SwiftEngineServer",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "SwiftEngineServer"
      ],
      "sources" : [
        "ByteBuffer+ForString.swift",
        "HTTPHandler.swift",
        "SEHTTPHandler.swift",
        "SELogger.swift",
        "SEMiddlewareHandler.swift",
        "SEShell.swift",
        "SocketAddress+IP.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SEProcessorTests",
      "module_type" : "SwiftTarget",
      "name" : "SEProcessorTests",
      "path" : "Tests/SEProcessorTests",
      "sources" : [
        "SEProcessorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftEngineServer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SEProcessorLibTests",
      "module_type" : "SwiftTarget",
      "name" : "SEProcessorLibTests",
      "path" : "Tests/SEProcessorLibTests",
      "sources" : [
        "SEProcessirLibTests.swift"
      ],
      "target_dependencies" : [
        "SwiftEngineServer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SEProcessorLib",
      "module_type" : "SwiftTarget",
      "name" : "SEProcessorLib",
      "path" : "Sources/SEProcessorLib",
      "product_memberships" : [
        "SEProcessor"
      ],
      "sources" : [
        "ContentType.swift",
        "SECommon.swift",
        "SECompiler.swift",
        "SEGlobals.swift",
        "SEResponse.swift",
        "SERoute.swift",
        "SEShell.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SEProcessor",
      "module_type" : "SwiftTarget",
      "name" : "SEProcessor",
      "path" : "Sources/SEProcessor",
      "product_memberships" : [
        "SEProcessor"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SEProcessorLib"
      ],
      "type" : "executable"
    }
  ],
  "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.