The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftEngine, reference master (8cdc39), with Swift 6.1 for Linux on 25 Apr 2025 15:23:51 UTC.

Swift 6 data race errors: 9

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/swiftengine/swiftengine.git
https://github.com/swiftengine/swiftengine.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (5.94s)
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.63s)
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.12s)
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/28] Write sources
[8/28] Compiling CNIOZlib empty.c
[9/28] Compiling CNIOLinux ifaddrs-android.c
[10/28] Compiling CNIODarwin shim.c
[10/28] Compiling CNIOSHA1 c_nio_sha1.c
[12/28] Compiling CNIOLinux shim.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] Compiling NIOPriorityQueue PriorityQueue.swift
[18/42] Compiling NIOConcurrencyHelpers lock.swift
[19/42] Compiling NIOConcurrencyHelpers atomics.swift
[20/42] Emitting module NIOConcurrencyHelpers
[21/43] Emitting module NIOPriorityQueue
[22/43] Compiling NIOPriorityQueue Heap.swift
[24/66] Wrapping AST for NIOPriorityQueue for debugging
[25/88] Wrapping AST for NIOConcurrencyHelpers for debugging
[27/94] Compiling SEProcessorLib ContentType.swift
/host/spi-builder-workspace/Sources/SEProcessorLib/ContentType.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | // MARK: ContentType
 11 | public class ContentType {
    |              `- note: class 'ContentType' does not conform to the 'Sendable' protocol
 12 |     public static let shared = ContentType()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public func getContentType(forExtension ext: String) -> String? {
[28/94] Compiling SEProcessorLib SEResponse.swift
[29/94] Compiling SEProcessorLib SERoute.swift
[30/94] Compiling SEProcessorLib SEGlobals.swift
/host/spi-builder-workspace/Sources/SEProcessorLib/SEGlobals.swift:5:23: warning: static property 'DOCUMENT_ROOT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public class SEGlobals {
 4 |     public static let REQUIRE_KEY = "//se: require "
 5 |     public static var DOCUMENT_ROOT = ""
   |                       |- warning: static property 'DOCUMENT_ROOT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'DOCUMENT_ROOT' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'DOCUMENT_ROOT' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public static var SECORE_LOCATION = "/etc/swiftengine/magic/SECore"
 7 | }
/host/spi-builder-workspace/Sources/SEProcessorLib/SEGlobals.swift:6:23: warning: static property 'SECORE_LOCATION' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |     public static let REQUIRE_KEY = "//se: require "
 5 |     public static var DOCUMENT_ROOT = ""
 6 |     public static var SECORE_LOCATION = "/etc/swiftengine/magic/SECore"
   |                       |- warning: static property 'SECORE_LOCATION' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'SECORE_LOCATION' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'SECORE_LOCATION' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 | }
 8 |
[31/94] Emitting module SEProcessorLib
/host/spi-builder-workspace/Sources/SEProcessorLib/ContentType.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | // MARK: ContentType
 11 | public class ContentType {
    |              `- note: class 'ContentType' does not conform to the 'Sendable' protocol
 12 |     public static let shared = ContentType()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public func getContentType(forExtension ext: String) -> String? {
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:19:16: warning: static property 'relativePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |         executable: test
 18 |     */
 19 |     static var relativePath: String!
    |                |- warning: static property 'relativePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'relativePath' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'relativePath' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     static var executableName: String!
 21 |     static var seCoreObjectList: String!
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:20:16: warning: static property 'executableName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     */
 19 |     static var relativePath: String!
 20 |     static var executableName: String!
    |                |- warning: static property 'executableName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'executableName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'executableName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static var seCoreObjectList: String!
 22 |     static let binaryCompilationLocation = "/var/swiftengine/.cache"
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:21:16: warning: static property 'seCoreObjectList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     static var relativePath: String!
 20 |     static var executableName: String!
 21 |     static var seCoreObjectList: String!
    |                |- warning: static property 'seCoreObjectList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'seCoreObjectList' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'seCoreObjectList' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static let binaryCompilationLocation = "/var/swiftengine/.cache"
 23 |     static let entryPointFilename = "default"
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:29:16: warning: static property 'requireList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 |     }
 28 |
 29 |     static var requireList: Set<String> = []
    |                |- warning: static property 'requireList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'requireList' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'requireList' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     // This method is the *only* way to access SECompiler
/host/spi-builder-workspace/Sources/SEProcessorLib/SEGlobals.swift:5:23: warning: static property 'DOCUMENT_ROOT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public class SEGlobals {
 4 |     public static let REQUIRE_KEY = "//se: require "
 5 |     public static var DOCUMENT_ROOT = ""
   |                       |- warning: static property 'DOCUMENT_ROOT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'DOCUMENT_ROOT' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'DOCUMENT_ROOT' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public static var SECORE_LOCATION = "/etc/swiftengine/magic/SECore"
 7 | }
/host/spi-builder-workspace/Sources/SEProcessorLib/SEGlobals.swift:6:23: warning: static property 'SECORE_LOCATION' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |     public static let REQUIRE_KEY = "//se: require "
 5 |     public static var DOCUMENT_ROOT = ""
 6 |     public static var SECORE_LOCATION = "/etc/swiftengine/magic/SECore"
   |                       |- warning: static property 'SECORE_LOCATION' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'SECORE_LOCATION' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'SECORE_LOCATION' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 | }
 8 |
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:10:23: warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  8 |         public mutating func write(_ string: String) { fputs(string, stderr) }
  9 |     }
 10 |     static public var stdErr = StderrOutputStream()
    |                       |- warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'stdErr' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'stdErr' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 |
[32/94] Compiling SEProcessorLib SEShell.swift
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:10:23: warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  8 |         public mutating func write(_ string: String) { fputs(string, stderr) }
  9 |     }
 10 |     static public var stdErr = StderrOutputStream()
    |                       |- warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'stdErr' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'stdErr' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 |
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:8:70: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  6 |     // For writing out error messages
  7 |     public struct StderrOutputStream: TextOutputStream {
  8 |         public mutating func write(_ string: String) { fputs(string, stderr) }
    |                                                                      `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  9 |     }
 10 |     static public var stdErr = StderrOutputStream()
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/SEProcessorLib/SEShell.swift:46:8: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 44 |         task.environment = env
 45 |         var vArgs = args
 46 | 		task.launchPath = vArgs[0] //"/usr/bin/env"
    |        |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |        `- 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'
 47 |         vArgs.remove(at:0)
 48 | 		task.arguments = vArgs
 49 | 		task.launch()
    |        |- warning: 'launch()' is deprecated: renamed to 'run'
    |        `- 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'
 84 |         task.standardError = pipeStdErr
 85 |
 86 |         task.launchPath = "/usr/bin/env"
    |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |              `- 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'
 86 |         task.launchPath = "/usr/bin/env"
 87 |         task.arguments = ["/bin/bash","-c", cmd]//args
 88 |         task.launch()
    |              |- warning: 'launch()' is deprecated: renamed to 'run'
    |              `- note: use 'run' instead
 89 |         task.waitUntilExit()
 90 |
[33/94] Compiling SEProcessorLib SECompiler.swift
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:19:16: warning: static property 'relativePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |         executable: test
 18 |     */
 19 |     static var relativePath: String!
    |                |- warning: static property 'relativePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'relativePath' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'relativePath' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     static var executableName: String!
 21 |     static var seCoreObjectList: String!
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:20:16: warning: static property 'executableName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     */
 19 |     static var relativePath: String!
 20 |     static var executableName: String!
    |                |- warning: static property 'executableName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'executableName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'executableName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static var seCoreObjectList: String!
 22 |     static let binaryCompilationLocation = "/var/swiftengine/.cache"
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:21:16: warning: static property 'seCoreObjectList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     static var relativePath: String!
 20 |     static var executableName: String!
 21 |     static var seCoreObjectList: String!
    |                |- warning: static property 'seCoreObjectList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'seCoreObjectList' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'seCoreObjectList' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static let binaryCompilationLocation = "/var/swiftengine/.cache"
 23 |     static let entryPointFilename = "default"
/host/spi-builder-workspace/Sources/SEProcessorLib/SECompiler.swift:29:16: warning: static property 'requireList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 |     }
 28 |
 29 |     static var requireList: Set<String> = []
    |                |- warning: static property 'requireList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'requireList' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'requireList' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     // This method is the *only* way to access SECompiler
[34/94] Compiling SEProcessorLib SECommon.swift
[35/95] Wrapping AST for SEProcessorLib for debugging
[37/97] Compiling SEProcessor main.swift
/host/spi-builder-workspace/Sources/SEProcessor/main.swift:15:15: warning: reference to class property 'DOCUMENT_ROOT' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |         exit(0)
14 |     }
15 |     SEGlobals.DOCUMENT_ROOT = documentRoot
   |               `- warning: reference to class property 'DOCUMENT_ROOT' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |     if let seCoreLocation = getArg("secore-location") {
17 |         SEGlobals.SECORE_LOCATION = seCoreLocation
/host/spi-builder-workspace/Sources/SEProcessorLib/SEGlobals.swift:5:23: note: class property declared here
 3 | public class SEGlobals {
 4 |     public static let REQUIRE_KEY = "//se: require "
 5 |     public static var DOCUMENT_ROOT = ""
   |                       `- note: class property declared here
 6 |     public static var SECORE_LOCATION = "/etc/swiftengine/magic/SECore"
 7 | }
/host/spi-builder-workspace/Sources/SEProcessor/main.swift:17:19: warning: reference to class property 'SECORE_LOCATION' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 |     SEGlobals.DOCUMENT_ROOT = documentRoot
16 |     if let seCoreLocation = getArg("secore-location") {
17 |         SEGlobals.SECORE_LOCATION = seCoreLocation
   |                   `- warning: reference to class property 'SECORE_LOCATION' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 |     }
19 |
/host/spi-builder-workspace/Sources/SEProcessorLib/SEGlobals.swift:6:23: note: class property declared here
 4 |     public static let REQUIRE_KEY = "//se: require "
 5 |     public static var DOCUMENT_ROOT = ""
 6 |     public static var SECORE_LOCATION = "/etc/swiftengine/magic/SECore"
   |                       `- note: class property declared here
 7 | }
 8 |
[38/97] Emitting module SEProcessor
[39/98] Wrapping AST for SEProcessor for debugging
[40/98] Write Objects.LinkFileList
[41/98] Linking SEProcessor
[43/98] Compiling NIO RecvByteBufferAllocator.swift
[44/98] Compiling NIO Resolver.swift
[45/98] Compiling NIO Selectable.swift
[46/98] Compiling NIO Selector.swift
[47/98] Compiling NIO ServerSocket.swift
[48/98] Compiling NIO Socket.swift
[49/98] Compiling NIO SocketAddresses.swift
[50/98] Compiling NIO MarkedCircularBuffer.swift
[51/98] Compiling NIO MulticastChannel.swift
[52/98] Compiling NIO NIOAny.swift
[53/98] Compiling NIO NonBlockingFileIO.swift
[54/98] Compiling NIO PendingDatagramWritesManager.swift
[55/98] Compiling NIO PendingWritesManager.swift
[56/98] Compiling NIO PriorityQueue.swift
[57/98] Compiling NIO Heap.swift
[58/98] Compiling NIO IO.swift
[59/98] Compiling NIO IOData.swift
[60/98] Compiling NIO IntegerTypes.swift
[61/98] Compiling NIO Interfaces.swift
[62/98] Compiling NIO Linux.swift
[63/98] Compiling NIO LinuxCPUSet.swift
[64/98] Compiling NIO EventLoop.swift
[65/98] Compiling NIO EventLoopFuture.swift
[66/98] Compiling NIO FileDescriptor.swift
[67/98] Compiling NIO FileHandle.swift
[68/98] Compiling NIO FileRegion.swift
[69/98] Compiling NIO GetaddrinfoResolver.swift
[70/98] Compiling NIO HappyEyeballs.swift
[71/104] Compiling NIO ByteBuffer-int.swift
[72/104] Compiling NIO ByteBuffer-views.swift
[73/104] Compiling NIO Channel.swift
[74/104] Compiling NIO ChannelHandler.swift
[75/104] Compiling NIO ChannelHandlers.swift
[76/104] Compiling NIO ChannelInvoker.swift
[77/104] Compiling NIO ChannelOption.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] Compiling NIO AddressedEnvelope.swift
[86/104] Compiling NIO BaseSocket.swift
[87/104] Compiling NIO BaseSocketChannel.swift
[88/104] Compiling NIO BlockingIOThreadPool.swift
[89/104] Compiling NIO Bootstrap.swift
[90/104] Compiling NIO ByteBuffer-aux.swift
[91/104] Compiling NIO ByteBuffer-core.swift
[92/104] Emitting module NIO
[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 HTTPResponseCompressor.swift
[106/118] Compiling NIOHTTP1 HTTPEncoder.swift
[107/118] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[108/118] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[109/118] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[110/118] Compiling NIOHTTP1 HTTPTypes.swift
[111/118] Compiling NIOHTTP1 HTTPServerPipelineHandler.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'
 40 |             }
 41 |         #elseif os(Linux)
 42 |             task.launchPath = "/usr/bin/env"
    |                  |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                  `- 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'
 41 |         #elseif os(Linux)
 42 |             task.launchPath = "/usr/bin/env"
 43 |             task.launch()
    |                  |- warning: 'launch()' is deprecated: renamed to 'run'
    |                  `- 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'
 82 |                 }
 83 |             #elseif os(Linux)
 84 |                 task.launchPath = "/usr/bin/env"
    |                      |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                      `- 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'
 83 |             #elseif os(Linux)
 84 |                 task.launchPath = "/usr/bin/env"
 85 |                 task.launch()
    |                      |- warning: 'launch()' is deprecated: renamed to 'run'
    |                      `- note: use 'run' instead
 86 |             #endif
 87 |             task.waitUntilExit()
[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 |
/host/spi-builder-workspace/Sources/SwiftEngineServer/SELogger.swift:28:24: warning: static property 'defaultLogLevel' is not concurrency-safe because non-'Sendable' type 'SELogger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | public class SELogger {
 12 |
 13 |     public enum LogLevel: Int {
    |                 `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
 14 |         case debug = 1,
 15 |         info,
    :
 26 |     // This shouldn't be a property of the class but doing it for now
 27 |     private static let basePath = "/var/log/swiftengine"
 28 |     private static let defaultLogLevel: LogLevel = LogLevel.error
    |                        |- warning: static property 'defaultLogLevel' is not concurrency-safe because non-'Sendable' type 'SELogger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'defaultLogLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     private static let maxLogSize = 10_000_000
 30 |
[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: use 'String(describing:)' to silence this warning
    |                                                                                               |    `- note: provide a default value to avoid 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] 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 |
[125/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 |
/host/spi-builder-workspace/Sources/SwiftEngineServer/SELogger.swift:28:24: warning: static property 'defaultLogLevel' is not concurrency-safe because non-'Sendable' type 'SELogger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | public class SELogger {
 12 |
 13 |     public enum LogLevel: Int {
    |                 `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
 14 |         case debug = 1,
 15 |         info,
    :
 26 |     // This shouldn't be a property of the class but doing it for now
 27 |     private static let basePath = "/var/log/swiftengine"
 28 |     private static let defaultLogLevel: LogLevel = LogLevel.error
    |                        |- warning: static property 'defaultLogLevel' is not concurrency-safe because non-'Sendable' type 'SELogger.LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'defaultLogLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     private static let maxLogSize = 10_000_000
 30 |
[126/129] Wrapping AST for SwiftEngineServer for debugging
[127/129] Write Objects.LinkFileList
[128/129] Linking SwiftEngineServer
Build complete! (36.17s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.