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

Failed to build SwiftEngine, reference master (8cdc39), with Swift 6.0 for Linux on 27 Nov 2024 05:43:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.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.0
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.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
[1/71935] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.45s)
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.17s)
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 (0.40s)
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 CNIOZlib empty.c
[9/28] Compiling CNIOLinux ifaddrs-android.c
[10/28] Compiling CNIODarwin shim.c
[11/28] Compiling CNIOLinux shim.c
[12/28] Compiling CNIOHTTPParser c_nio_http_parser.c
[13/28] Compiling CNIOSHA1 c_nio_sha1.c
[13/28] Write swift-version-24593BA9C3E375BF.txt
[15/39] Compiling c-atomics.c
[17/42] Emitting module NIOConcurrencyHelpers
[18/42] Emitting module NIOPriorityQueue
[19/42] Compiling NIOPriorityQueue PriorityQueue.swift
[20/42] Compiling NIOPriorityQueue Heap.swift
[21/43] Compiling NIOConcurrencyHelpers atomics.swift
[22/43] Compiling NIOConcurrencyHelpers lock.swift
[24/44] Wrapping AST for NIOPriorityQueue for debugging
[25/44] Wrapping AST for NIOConcurrencyHelpers for debugging
[27/94] Compiling SEProcessorLib SECommon.swift
[28/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: annotate 'stdErr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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()
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/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 |
[29/94] Compiling SEProcessorLib SERoute.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: annotate 'DOCUMENT_ROOT' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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 | }
[30/94] Compiling SEProcessorLib SEResponse.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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public func getContentType(forExtension ext: String) -> String? {
[31/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: annotate 'DOCUMENT_ROOT' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'SECORE_LOCATION' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 | }
 8 |
[32/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: annotate 'relativePath' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'executableName' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'seCoreObjectList' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'requireList' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: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: annotate 'SECORE_LOCATION' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 | }
 8 |
/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: annotate 'DOCUMENT_ROOT' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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/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: annotate 'stdErr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 |
[33/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public func getContentType(forExtension ext: String) -> String? {
[34/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'relativePath' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'executableName' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'seCoreObjectList' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'requireList' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'DOCUMENT_ROOT' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'SECORE_LOCATION' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'stdErr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 |
[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 MarkedCircularBuffer.swift
[44/98] Compiling NIO MulticastChannel.swift
[45/98] Compiling NIO NIOAny.swift
[46/98] Compiling NIO NonBlockingFileIO.swift
[47/98] Compiling NIO PendingDatagramWritesManager.swift
[48/98] Compiling NIO PendingWritesManager.swift
[49/98] Compiling NIO PriorityQueue.swift
[50/98] Compiling NIO RecvByteBufferAllocator.swift
[51/98] Compiling NIO Resolver.swift
[52/98] Compiling NIO Selectable.swift
[53/98] Compiling NIO Selector.swift
[54/98] Compiling NIO ServerSocket.swift
[55/98] Compiling NIO Socket.swift
[56/98] Compiling NIO SocketAddresses.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/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 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] 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] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[102/116] Emitting module NIOFoundationCompat
[103/117] Wrapping AST for NIOFoundationCompat for debugging
[105/117] Compiling NIOHTTP1 HTTPEncoder.swift
[106/118] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[107/118] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[108/118] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[109/118] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[110/118] Compiling NIOHTTP1 HTTPTypes.swift
[111/118] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[112/118] Emitting module NIOHTTP1
[113/118] Compiling NIOHTTP1 ByteCollectionUtils.swift
[114/118] Compiling NIOHTTP1 HTTPDecoder.swift
[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 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)
error: compile command failed due to signal 11 (use -v to see invocation)
/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 |
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftEngineServer/ByteBuffer+ForString.swift /host/spi-builder-workspace/Sources/SwiftEngineServer/HTTPHandler.swift /host/spi-builder-workspace/Sources/SwiftEngineServer/SEHTTPHandler.swift /host/spi-builder-workspace/Sources/SwiftEngineServer/SELogger.swift -primary-file /host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift /host/spi-builder-workspace/Sources/SwiftEngineServer/SEShell.swift /host/spi-builder-workspace/Sources/SwiftEngineServer/SocketAddress+IP.swift /host/spi-builder-workspace/Sources/SwiftEngineServer/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftEngineServer.build/SEMiddlewareHandler.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftEngineServer.build/SEMiddlewareHandler.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOZlib.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOZlib/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOHTTPParser.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOSHA1.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOAtomics.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIODarwin.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOLinux.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-nio-zlib-support/module.modulemap -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SwiftEngineServer -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftEngineServer.build/SEMiddlewareHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 6.0.2 (swift-6.0.2-RELEASE)
2.	Compiling with effective version 4.1.50
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift")
4.	While silgen emitFunction SIL function "@$s17SwiftEngineServer19SEMiddlewareHandlerC13channelActive3ctxy3NIO07ChannelE7ContextC_tF".
 for 'channelActive(ctx:)' (at /host/spi-builder-workspace/Sources/SwiftEngineServer/SEMiddlewareHandler.swift:44:12)
5.	While getting lowered local captures at 'track(_:file:function:line:)' (at /host/spi-builder-workspace/Sources/SwiftEngineServer/main.swift:114:10)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x0000564d3e09b047
1  swift-frontend 0x0000564d3e09900e
2  swift-frontend 0x0000564d3e09b6ba
3  libc.so.6      0x00007f4471d9b520
4  swift-frontend 0x0000564d39baed50
5  swift-frontend 0x0000564d3936c378
6  swift-frontend 0x0000564d3936d707
7  swift-frontend 0x0000564d3936ddf0
8  swift-frontend 0x0000564d3935e590
9  swift-frontend 0x0000564d38b8ef1b
10 swift-frontend 0x0000564d38b7af01
11 swift-frontend 0x0000564d38ac0e61
12 swift-frontend 0x0000564d38ab6fec
13 swift-frontend 0x0000564d38b4ac08
14 swift-frontend 0x0000564d38b49afd
15 swift-frontend 0x0000564d38adc479
16 swift-frontend 0x0000564d38a72e9b
17 swift-frontend 0x0000564d38a7360e
18 swift-frontend 0x0000564d38a71388
19 swift-frontend 0x0000564d38b5cf7a
20 swift-frontend 0x0000564d38b5cdb8
21 swift-frontend 0x0000564d38a7628a
22 swift-frontend 0x0000564d38b495e4
23 swift-frontend 0x0000564d38b49509
24 swift-frontend 0x0000564d38a7abb2
25 swift-frontend 0x0000564d38a76d3f
26 swift-frontend 0x0000564d383e02ba
27 swift-frontend 0x0000564d383e2ecb
28 swift-frontend 0x0000564d383e2136
29 swift-frontend 0x0000564d381b9477
30 libc.so.6      0x00007f4471d82d90
31 libc.so.6      0x00007f4471d82e40 __libc_start_main + 128
32 swift-frontend 0x0000564d381b7b95
*** Signal 11: Backtracing from 0x564d39baed50... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000010 ***
Thread 0 "swift-frontend" crashed:
0  0x0000564d39baed50 swift::CaptureInfo::CaptureInfoStorage::getGenericEnvironments() const in swift-frontend
Registers:
rax 0x0000000000000000  0
rdx 0x00007ffdc3fe93a8  90 f1 15 3f 4d 56 00 00 88 96 fe c3 fd 7f 00 00  ·ñ·?MV····þÃý···
rcx 0x0000564d422a61d0  01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rbx 0x0000000000000000  0
rsi 0x0000000000000000  0
rdi 0x0000000000000000  0
rbp 0x0000564d422a61d0  01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rsp 0x00007ffdc3fe92f8  78 c3 36 39 4d 56 00 00 08 00 00 00 00 00 00 00  xÃ69MV··········
 r8 0x0000000000000000  0
 r9 0x0000000000000001  1
r10 0xfffffffffffff000  18446744073709547520
r11 0x0000000000000246  582
r12 0x00007ffdc3fe9610  50 96 fe c3 fd 7f 00 00 30 96 fe c3 fd 7f 00 00  P·þÃý···0·þÃý···
r13 0x0000564d422a61e8  38 ea 1c 42 4d 56 00 00 0f 00 92 00 00 00 08 00  8ê·BMV··········
r14 0x0000564d42e3e360  97 94 fe c3 fd 7f 00 00 f0 94 fe c3 fd 7f 00 00  ··þÃý···ð·þÃý···
r15 0x0000564d42b2f6b0  f0 96 fe c3 fd 7f 00 00 00 fd af 42 4d 56 00 00  ð·þÃý····ý¯BMV··
rip 0x0000564d39baed50  8b 47 10 8b 57 14 48 c1 e0 04 48 8d 44 07 18 c3  ·G··W·HÁà·H·D··Ã
rflags 0x0000000000010293  SF AF CF
cs 0x0033  fs 0x0000  gs 0x0000
Images (38 omitted):
0x0000564d3798d000–0x0000564d3ed65908 7d4c7708a94b8a6bc2c718a6901cd09261a59503 swift-frontend /usr/bin/swift-frontend
Backtrace took 0.27s
BUILD FAILURE 6.0 linux