The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftBacktrace, reference 1.0.1 (1b4bbe), with Swift 6.1 for Linux on 25 Apr 2025 08:48:50 UTC.

Swift 6 data race errors: 20

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/norio-nomura/swiftbacktrace.git
Reference: 1.0.1
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/norio-nomura/swiftbacktrace
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 1b4bbe8 Merge pull request #19 from norio-nomura/revert-#18
Cloned https://github.com/norio-nomura/swiftbacktrace.git
Revision (git rev-parse @):
1b4bbe87c19d5e2e04786d8140ab36fec4b7881b
SUCCESS checkout https://github.com/norio-nomura/swiftbacktrace.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/norio-nomura/swiftbacktrace.git
https://github.com/norio-nomura/swiftbacktrace.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "SwiftBacktrace",
  "name" : "SwiftBacktrace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBacktrace",
      "targets" : [
        "Clibunwind",
        "CSwiftBacktrace",
        "SwiftBacktrace"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBacktraceTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBacktraceTests",
      "path" : "Tests/SwiftBacktraceTests",
      "sources" : [
        "SwiftBacktraceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftBacktrace"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBacktrace",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBacktrace",
      "path" : "Sources/SwiftBacktrace",
      "product_dependencies" : [
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "BacktraceFormatter.swift",
        "Demangle.swift",
        "DynamicLinkLibrary.swift",
        "String+extension.swift",
        "SwiftBacktrace.swift",
        "Unwind.swift",
        "shim.swift",
        "sigaction.swift"
      ],
      "target_dependencies" : [
        "Clibunwind",
        "CSwiftBacktrace"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibunwind",
      "module_type" : "ClangTarget",
      "name" : "Clibunwind",
      "path" : "Sources/Clibunwind",
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "Clibunwind.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSwiftBacktrace",
      "module_type" : "ClangTarget",
      "name" : "CSwiftBacktrace",
      "path" : "Sources/CSwiftBacktrace",
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "CSwiftBacktrace.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 (4.25s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (6.71s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4353] Fetching swift-system
[4354/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.30s)
[813/16242] Fetching swift-collections
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-collections.git from cache (2.23s)
[1/1705] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.68s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Building for debugging...
[0/7] Write sources
[2/7] Compiling Clibunwind Clibunwind.cpp
[3/7] Compiling CSwiftBacktrace CSwiftBacktrace.cpp
[4/7] Compiling c-nioatomics.c
[4/7] Write swift-version-24593BA9C3E375BF.txt
[6/7] Compiling c-atomics.c
[8/13] Compiling NIOConcurrencyHelpers lock.swift
[9/13] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[10/13] Compiling NIOConcurrencyHelpers atomics.swift
[11/13] Compiling NIOConcurrencyHelpers NIOLock.swift
[12/13] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[13/13] Emitting module NIOConcurrencyHelpers
[15/22] Compiling SwiftBacktrace shim.swift
[16/23] Compiling SwiftBacktrace SwiftBacktrace.swift
[17/23] Compiling SwiftBacktrace Unwind.swift
/host/spi-builder-workspace/Sources/SwiftBacktrace/Unwind.swift:75:5: warning: let 'libunwind' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
 73 | let libunwind = Loader(searchPaths: ["/usr/lib/system"]).load(path: "libunwind.dylib")
 74 | #elseif os(Linux)
 75 | let libunwind = Loader(searchPaths: []).load(path: "libunwind.so.8")
    |     |- warning: let 'libunwind' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'libunwind' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 | #endif
 77 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/DynamicLinkLibrary.swift:3:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | struct DynamicLinkLibrary {
   |        `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 4 |     let path: String
 5 |     let handle: UnsafeMutableRawPointer
[18/23] Compiling SwiftBacktrace String+extension.swift
[19/23] Compiling SwiftBacktrace BacktraceFormatter.swift
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:15:23: warning: static property 'demangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - BacktraceFormatter
  4 |
  5 | public struct BacktraceFormatter {
    |               `- note: consider making struct 'BacktraceFormatter' conform to the 'Sendable' protocol
  6 |     let symbolFormatter: SymbolFormatter
  7 |     let postProcessor: PostProcessor
    :
 13 |
 14 |     // MARK: - Predefined formatter
 15 |     public static let demangled = BacktraceFormatter(.demangledDefault)
    |                       |- warning: static property 'demangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'demangled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 17 |     public static let simplifiedDemangled = BacktraceFormatter(.simplifiedDemangledDefault)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:17:23: warning: static property 'simplifiedDemangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - BacktraceFormatter
  4 |
  5 | public struct BacktraceFormatter {
    |               `- note: consider making struct 'BacktraceFormatter' conform to the 'Sendable' protocol
  6 |     let symbolFormatter: SymbolFormatter
  7 |     let postProcessor: PostProcessor
    :
 15 |     public static let demangled = BacktraceFormatter(.demangledDefault)
 16 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 17 |     public static let simplifiedDemangled = BacktraceFormatter(.simplifiedDemangledDefault)
    |                       |- warning: static property 'simplifiedDemangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'simplifiedDemangled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 19 | }
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:43:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 41 | extension Converter where Input == Symbol, Output == Symbol {
 42 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 43 |     public static let `default` = simplified.compose(cxxDemangle)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 | #else
 45 |     public static let `default` = demangle.compose(cxxDemangle)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:49:23: warning: static property 'cxxDemangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 47 |
 48 |     /// Demangle `Symbol.name` as C++ function names.
 49 |     public static let cxxDemangle = Converter { symbol -> Symbol in
    |                       |- warning: static property 'cxxDemangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'cxxDemangle' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 |         var symbol = symbol
 51 |         symbol.name = cxxDemangleName(symbol.name)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:56:23: warning: static property 'demangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 54 |
 55 |     /// Demangle `Symbol.name` as Swift function names.
 56 |     public static let demangle = Converter { symbol -> Symbol in
    |                       |- warning: static property 'demangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'demangle' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |         var symbol = symbol
 58 |         symbol.name = swiftDemangleName(symbol.name)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:65:23: warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 63 |     /// Demangle `Symbol.name` as Swift function names with module names and implicit self
 64 |     /// and metatype type names in function signatures stripped.
 65 |     public static let simplified = Converter { symbol -> Symbol in
    |                       |- warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'simplified' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         var symbol = symbol
 67 |         symbol.name = swiftSimplifiedDemangleName(symbol.name)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:80:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolFormatter' (aka 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>') may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 78 | extension Converter where Input == Symbol, Output == String {
 79 |     // Swift 4.0.3 or earlier can't infer types of `default` without type annotation
 80 |     public static let `default`: SymbolFormatter = defaultStyle.compose(.default)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolFormatter' (aka 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:82:23: warning: static property 'demangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 80 |     public static let `default`: SymbolFormatter = defaultStyle.compose(.default)
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
    |                       |- warning: static property 'demangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'demangledDefault' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     #if os(macOS) || (os(Linux) && swift(>=4.1))
 84 |     public static let simplifiedDemangledDefault = defaultStyle.compose(.simplified)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:84:23: warning: static property 'simplifiedDemangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
 83 |     #if os(macOS) || (os(Linux) && swift(>=4.1))
 84 |     public static let simplifiedDemangledDefault = defaultStyle.compose(.simplified)
    |                       |- warning: static property 'simplifiedDemangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'simplifiedDemangledDefault' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |     #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 86 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:90:23: warning: static property 'defaultStyle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 88 |     public static let defaultStyle = darwinStyleFormat
 89 | #elseif os(Linux)
 90 |     public static let defaultStyle = linuxStyleFormat
    |                       |- warning: static property 'defaultStyle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultStyle' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 | #endif
 92 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:94:23: warning: static property 'darwinStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 92 |
 93 |     /// Format `Symbol` into darwin style backtrace
 94 |     public static let darwinStyleFormat = Converter { symbol -> String in
    |                       |- warning: static property 'darwinStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'darwinStyleFormat' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         let (module, name, offset, address) = symbol
 96 |         let basename = URL(fileURLWithPath: module).lastPathComponent.ljust(35)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:101:23: warning: static property 'linuxStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 99 |
100 |     /// Format `Symbol` into linux style backtrace
101 |     public static let linuxStyleFormat = Converter { symbol -> String in
    |                       |- warning: static property 'linuxStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'linuxStyleFormat' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |         let (module, name, offset, address) = symbol
103 |         func hex<T: FixedWidthInteger & UnsignedInteger>(_ int: T) -> String {
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:119:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
117 |     public static let `default` = prefixNumber
118 | #elseif os(Linux)
119 |     public static let `default` = Converter { $0 }
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | #endif
121 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:123:23: warning: static property 'prefixNumber' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
121 |
122 |     /// Prefix line number to each lines in `[String]`
123 |     public static let prefixNumber = Converter { lines -> [String] in
    |                       |- warning: static property 'prefixNumber' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'prefixNumber' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |         let countStringLength = max(String(lines.count).count + 1, 4)
125 |         return lines.enumerated().map { String($0.offset).ljust(countStringLength) + $0.element }
[20/23] Compiling SwiftBacktrace Demangle.swift
/host/spi-builder-workspace/Sources/SwiftBacktrace/Demangle.swift:52:5: warning: let 'libswiftDemangle' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let libswiftDemangle = Loader(searchPaths: searchPaths).load(path: "libswiftDemangle.dylib")
51 | #elseif os(Linux)
52 | let libswiftDemangle = Loader(searchPaths: []).load(path: "libswiftDemangle.so")
   |     |- warning: let 'libswiftDemangle' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'libswiftDemangle' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #endif
54 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/DynamicLinkLibrary.swift:3:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | struct DynamicLinkLibrary {
   |        `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 4 |     let path: String
 5 |     let handle: UnsafeMutableRawPointer
[21/23] Emitting module SwiftBacktrace
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:15:23: warning: static property 'demangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - BacktraceFormatter
  4 |
  5 | public struct BacktraceFormatter {
    |               `- note: consider making struct 'BacktraceFormatter' conform to the 'Sendable' protocol
  6 |     let symbolFormatter: SymbolFormatter
  7 |     let postProcessor: PostProcessor
    :
 13 |
 14 |     // MARK: - Predefined formatter
 15 |     public static let demangled = BacktraceFormatter(.demangledDefault)
    |                       |- warning: static property 'demangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'demangled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 17 |     public static let simplifiedDemangled = BacktraceFormatter(.simplifiedDemangledDefault)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:17:23: warning: static property 'simplifiedDemangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | // MARK: - BacktraceFormatter
  4 |
  5 | public struct BacktraceFormatter {
    |               `- note: consider making struct 'BacktraceFormatter' conform to the 'Sendable' protocol
  6 |     let symbolFormatter: SymbolFormatter
  7 |     let postProcessor: PostProcessor
    :
 15 |     public static let demangled = BacktraceFormatter(.demangledDefault)
 16 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 17 |     public static let simplifiedDemangled = BacktraceFormatter(.simplifiedDemangledDefault)
    |                       |- warning: static property 'simplifiedDemangled' is not concurrency-safe because non-'Sendable' type 'BacktraceFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'simplifiedDemangled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 19 | }
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:43:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 41 | extension Converter where Input == Symbol, Output == Symbol {
 42 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 43 |     public static let `default` = simplified.compose(cxxDemangle)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 | #else
 45 |     public static let `default` = demangle.compose(cxxDemangle)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:49:23: warning: static property 'cxxDemangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 47 |
 48 |     /// Demangle `Symbol.name` as C++ function names.
 49 |     public static let cxxDemangle = Converter { symbol -> Symbol in
    |                       |- warning: static property 'cxxDemangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'cxxDemangle' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 50 |         var symbol = symbol
 51 |         symbol.name = cxxDemangleName(symbol.name)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:56:23: warning: static property 'demangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 54 |
 55 |     /// Demangle `Symbol.name` as Swift function names.
 56 |     public static let demangle = Converter { symbol -> Symbol in
    |                       |- warning: static property 'demangle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'demangle' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |         var symbol = symbol
 58 |         symbol.name = swiftDemangleName(symbol.name)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:65:23: warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 63 |     /// Demangle `Symbol.name` as Swift function names with module names and implicit self
 64 |     /// and metatype type names in function signatures stripped.
 65 |     public static let simplified = Converter { symbol -> Symbol in
    |                       |- warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), (module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'simplified' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         var symbol = symbol
 67 |         symbol.name = swiftSimplifiedDemangleName(symbol.name)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:80:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolFormatter' (aka 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>') may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 78 | extension Converter where Input == Symbol, Output == String {
 79 |     // Swift 4.0.3 or earlier can't infer types of `default` without type annotation
 80 |     public static let `default`: SymbolFormatter = defaultStyle.compose(.default)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolFormatter' (aka 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:82:23: warning: static property 'demangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 80 |     public static let `default`: SymbolFormatter = defaultStyle.compose(.default)
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
    |                       |- warning: static property 'demangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'demangledDefault' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     #if os(macOS) || (os(Linux) && swift(>=4.1))
 84 |     public static let simplifiedDemangledDefault = defaultStyle.compose(.simplified)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:84:23: warning: static property 'simplifiedDemangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
 83 |     #if os(macOS) || (os(Linux) && swift(>=4.1))
 84 |     public static let simplifiedDemangledDefault = defaultStyle.compose(.simplified)
    |                       |- warning: static property 'simplifiedDemangledDefault' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: UnsafeRawPointer?), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'simplifiedDemangledDefault' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |     #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 86 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:90:23: warning: static property 'defaultStyle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 88 |     public static let defaultStyle = darwinStyleFormat
 89 | #elseif os(Linux)
 90 |     public static let defaultStyle = linuxStyleFormat
    |                       |- warning: static property 'defaultStyle' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultStyle' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 | #endif
 92 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:94:23: warning: static property 'darwinStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 92 |
 93 |     /// Format `Symbol` into darwin style backtrace
 94 |     public static let darwinStyleFormat = Converter { symbol -> String in
    |                       |- warning: static property 'darwinStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'darwinStyleFormat' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         let (module, name, offset, address) = symbol
 96 |         let basename = URL(fileURLWithPath: module).lastPathComponent.ljust(35)
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:101:23: warning: static property 'linuxStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
 99 |
100 |     /// Format `Symbol` into linux style backtrace
101 |     public static let linuxStyleFormat = Converter { symbol -> String in
    |                       |- warning: static property 'linuxStyleFormat' is not concurrency-safe because non-'Sendable' type 'Converter<(module: String, name: String, offset: UInt64, address: Optional<UnsafeRawPointer>), String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'linuxStyleFormat' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |         let (module, name, offset, address) = symbol
103 |         func hex<T: FixedWidthInteger & UnsignedInteger>(_ int: T) -> String {
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:119:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
117 |     public static let `default` = prefixNumber
118 | #elseif os(Linux)
119 |     public static let `default` = Converter { $0 }
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | #endif
121 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/BacktraceFormatter.swift:123:23: warning: static property 'prefixNumber' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | // MARK: - Converter
 22 |
 23 | public struct Converter<Input, Output> {
    |               `- note: consider making generic struct 'Converter' conform to the 'Sendable' protocol
 24 |     public typealias Handler = (Input) -> Output
 25 |     let handler: Handler
    :
121 |
122 |     /// Prefix line number to each lines in `[String]`
123 |     public static let prefixNumber = Converter { lines -> [String] in
    |                       |- warning: static property 'prefixNumber' is not concurrency-safe because non-'Sendable' type 'Converter<[String], [String]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'prefixNumber' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |         let countStringLength = max(String(lines.count).count + 1, 4)
125 |         return lines.enumerated().map { String($0.offset).ljust(countStringLength) + $0.element }
/host/spi-builder-workspace/Sources/SwiftBacktrace/Demangle.swift:52:5: warning: let 'libswiftDemangle' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let libswiftDemangle = Loader(searchPaths: searchPaths).load(path: "libswiftDemangle.dylib")
51 | #elseif os(Linux)
52 | let libswiftDemangle = Loader(searchPaths: []).load(path: "libswiftDemangle.so")
   |     |- warning: let 'libswiftDemangle' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'libswiftDemangle' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | #endif
54 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/DynamicLinkLibrary.swift:3:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | struct DynamicLinkLibrary {
   |        `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 4 |     let path: String
 5 |     let handle: UnsafeMutableRawPointer
/host/spi-builder-workspace/Sources/SwiftBacktrace/Unwind.swift:75:5: warning: let 'libunwind' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
 73 | let libunwind = Loader(searchPaths: ["/usr/lib/system"]).load(path: "libunwind.dylib")
 74 | #elseif os(Linux)
 75 | let libunwind = Loader(searchPaths: []).load(path: "libunwind.so.8")
    |     |- warning: let 'libunwind' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'libunwind' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 | #endif
 77 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/DynamicLinkLibrary.swift:3:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | struct DynamicLinkLibrary {
   |        `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
 4 |     let path: String
 5 |     let handle: UnsafeMutableRawPointer
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:11:52: 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 | let _enablePrettyStackTrace: Void = {
 10 |     addSignalHandler {
 11 |         fputs(backtrace().joined(separator: "\n"), 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
 12 |     }
 13 | }()
/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/SwiftBacktrace/sigaction.swift:95:13: warning: var 'registeredSignalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | private var registeredSignalInfo = [SignalInfo]()
    |             |- warning: var 'registeredSignalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'registeredSignalInfo' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'registeredSignalInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 96 | private let queue = DispatchQueue(label: "registerHandlers()")
 97 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:163:17: warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 | final class Callback {
162 |     enum State: Int { case empty, initializing, initialized, executing }
163 |     var state = Atomic(value: State.empty.rawValue)
    |                 `- warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |     var callback: (() -> Void)?
165 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:184:5: warning: var 'callbacksToRun' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | let maxSignalHandlerCallbacks = 8
184 | var callbacksToRun = Array(repeating: Callback(), count: maxSignalHandlerCallbacks)
    |     |- warning: var 'callbacksToRun' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'callbacksToRun' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'callbacksToRun' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | private func runSignalHandlers() {
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:213:28: warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
211 | //// Interrupt Function
212 | public typealias InterruptFunction = @convention(c) (Int32) -> Void
213 | var interruptFunctionPtr = Atomic(value: 0)
    |                            `- warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
214 |
215 | public func setInterruptFunction(_ desired: InterruptFunction?) {
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:213:5: warning: var 'interruptFunctionPtr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
211 | //// Interrupt Function
212 | public typealias InterruptFunction = @convention(c) (Int32) -> Void
213 | var interruptFunctionPtr = Atomic(value: 0)
    |     |- warning: var 'interruptFunctionPtr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'interruptFunctionPtr' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'interruptFunctionPtr' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |
215 | public func setInterruptFunction(_ desired: InterruptFunction?) {
[22/23] Compiling SwiftBacktrace DynamicLinkLibrary.swift
[23/23] Compiling SwiftBacktrace sigaction.swift
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:11:52: 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 | let _enablePrettyStackTrace: Void = {
 10 |     addSignalHandler {
 11 |         fputs(backtrace().joined(separator: "\n"), 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
 12 |     }
 13 | }()
/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/SwiftBacktrace/sigaction.swift:95:13: warning: var 'registeredSignalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | private var registeredSignalInfo = [SignalInfo]()
    |             |- warning: var 'registeredSignalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'registeredSignalInfo' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'registeredSignalInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 96 | private let queue = DispatchQueue(label: "registerHandlers()")
 97 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:163:17: warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 | final class Callback {
162 |     enum State: Int { case empty, initializing, initialized, executing }
163 |     var state = Atomic(value: State.empty.rawValue)
    |                 `- warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |     var callback: (() -> Void)?
165 |
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:184:5: warning: var 'callbacksToRun' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | let maxSignalHandlerCallbacks = 8
184 | var callbacksToRun = Array(repeating: Callback(), count: maxSignalHandlerCallbacks)
    |     |- warning: var 'callbacksToRun' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'callbacksToRun' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'callbacksToRun' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | private func runSignalHandlers() {
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:213:28: warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
211 | //// Interrupt Function
212 | public typealias InterruptFunction = @convention(c) (Int32) -> Void
213 | var interruptFunctionPtr = Atomic(value: 0)
    |                            `- warning: 'Atomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
214 |
215 | public func setInterruptFunction(_ desired: InterruptFunction?) {
/host/spi-builder-workspace/Sources/SwiftBacktrace/sigaction.swift:213:5: warning: var 'interruptFunctionPtr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
211 | //// Interrupt Function
212 | public typealias InterruptFunction = @convention(c) (Int32) -> Void
213 | var interruptFunctionPtr = Atomic(value: 0)
    |     |- warning: var 'interruptFunctionPtr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'interruptFunctionPtr' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'interruptFunctionPtr' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |
215 | public func setInterruptFunction(_ desired: InterruptFunction?) {
Build complete! (25.42s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "SwiftBacktrace",
  "name" : "SwiftBacktrace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBacktrace",
      "targets" : [
        "Clibunwind",
        "CSwiftBacktrace",
        "SwiftBacktrace"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBacktraceTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBacktraceTests",
      "path" : "Tests/SwiftBacktraceTests",
      "sources" : [
        "SwiftBacktraceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftBacktrace"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBacktrace",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBacktrace",
      "path" : "Sources/SwiftBacktrace",
      "product_dependencies" : [
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "BacktraceFormatter.swift",
        "Demangle.swift",
        "DynamicLinkLibrary.swift",
        "String+extension.swift",
        "SwiftBacktrace.swift",
        "Unwind.swift",
        "shim.swift",
        "sigaction.swift"
      ],
      "target_dependencies" : [
        "Clibunwind",
        "CSwiftBacktrace"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibunwind",
      "module_type" : "ClangTarget",
      "name" : "Clibunwind",
      "path" : "Sources/Clibunwind",
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "Clibunwind.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSwiftBacktrace",
      "module_type" : "ClangTarget",
      "name" : "CSwiftBacktrace",
      "path" : "Sources/CSwiftBacktrace",
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "CSwiftBacktrace.cpp"
      ],
      "type" : "library"
    }
  ],
  "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.