The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SwiftBacktrace, reference master (2a865d), with Swift 6.0 for Linux on 31 Oct 2024 03:40:25 UTC.

Swift 6 data race errors: 20

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/norio-nomura/swiftbacktrace.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/norio-nomura/swiftbacktrace
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2a865d3 [GitHub Actions] Update action-swiftlint to 3.0.1
Cloned https://github.com/norio-nomura/swiftbacktrace.git
Revision (git rev-parse @):
2a865d3d54cd36e637badc7a788133b8ddfc9b58
SUCCESS checkout https://github.com/norio-nomura/swiftbacktrace.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/norio-nomura/swiftbacktrace.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 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/71091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (2.05s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[974/5470] Fetching swift-atomics, swift-system
[5471/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.00s)
Fetched https://github.com/apple/swift-system.git from cache (1.00s)
Fetched https://github.com/apple/swift-collections.git from cache (1.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.64s)
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.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Building for debugging...
[0/7] Write sources
[2/7] Compiling CSwiftBacktrace CSwiftBacktrace.cpp
[3/7] Compiling Clibunwind Clibunwind.cpp
[4/7] Compiling c-nioatomics.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
[6/7] Compiling c-atomics.c
[8/13] Emitting module NIOConcurrencyHelpers
[9/13] Compiling NIOConcurrencyHelpers lock.swift
[10/13] Compiling NIOConcurrencyHelpers NIOLock.swift
[11/13] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[12/13] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[13/13] Compiling NIOConcurrencyHelpers atomics.swift
[15/22] Compiling SwiftBacktrace shim.swift
[16/23] Emitting module SwiftBacktrace
/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: annotate 'default' 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
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
/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: annotate 'default' 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
120 | #endif
121 |
/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: annotate 'demangled' 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
 16 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 17 |     public static let simplifiedDemangled = BacktraceFormatter(.simplifiedDemangledDefault)
/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: annotate 'demangledDefault' 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
 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: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: annotate 'simplifiedDemangled' 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
 18 | #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 19 | }
/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: annotate 'simplifiedDemangledDefault' 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
 85 |     #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 86 |
/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: annotate 'default' 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
 44 | #else
 45 |     public static let `default` = demangle.compose(cxxDemangle)
/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: annotate 'simplified' 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
 66 |         var symbol = symbol
 67 |         symbol.name = swiftSimplifiedDemangleName(symbol.name)
/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: annotate 'cxxDemangle' 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
 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: annotate 'demangle' 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
 57 |         var symbol = symbol
 58 |         symbol.name = swiftDemangleName(symbol.name)
/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: annotate 'defaultStyle' 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
 91 | #endif
 92 |
/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: annotate 'linuxStyleFormat' 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
102 |         let (module, name, offset, address) = symbol
103 |         func hex<T: FixedWidthInteger & UnsignedInteger>(_ int: T) -> String {
/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: annotate 'darwinStyleFormat' 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
 95 |         let (module, name, offset, address) = symbol
 96 |         let basename = URL(fileURLWithPath: module).lastPathComponent.ljust(35)
/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: annotate 'prefixNumber' 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
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: annotate 'libswiftDemangle' 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
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: annotate 'libunwind' 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
 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 | }()
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/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: annotate 'registeredSignalInfo' 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
 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: annotate 'callbacksToRun' 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
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: annotate 'interruptFunctionPtr' 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
214 |
215 | public func setInterruptFunction(_ desired: InterruptFunction?) {
[17/23] Compiling SwiftBacktrace SwiftBacktrace.swift
/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: annotate 'default' 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
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
/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: annotate 'default' 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
120 | #endif
121 |
/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: annotate 'demangled' 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
 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: annotate 'simplifiedDemangled' 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
 18 | #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 19 | }
[18/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: annotate 'libunwind' 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
 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/Unwind.swift:52:13: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
 50 |
 51 |     func nameAndOffset() -> (name: String, offset: UInt64) {
 52 |         var buffer = UnsafeMutablePointer<Int8>.allocate(capacity: 1024)
    |             `- warning: variable 'buffer' was never mutated; consider changing to 'let' constant
 53 | #if swift(>=4.1)
 54 |         defer { buffer.deallocate() }
[19/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: annotate 'libswiftDemangle' 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
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
[20/23] Compiling SwiftBacktrace DynamicLinkLibrary.swift
[21/23] Compiling SwiftBacktrace sigaction.swift
/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: annotate 'default' 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
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
/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: annotate 'default' 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
120 | #endif
121 |
/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 | }()
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/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: annotate 'registeredSignalInfo' 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
 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: annotate 'callbacksToRun' 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
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: annotate 'interruptFunctionPtr' 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
214 |
215 | public func setInterruptFunction(_ desired: InterruptFunction?) {
[22/23] Compiling SwiftBacktrace String+extension.swift
[23/23] Compiling SwiftBacktrace BacktraceFormatter.swift
/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: annotate 'default' 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
 81 |
 82 |     public static let demangledDefault = defaultStyle.compose(.demangle)
/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: annotate 'default' 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
120 | #endif
121 |
/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: annotate 'demangled' 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
 16 | #if os(macOS) || (os(Linux) && swift(>=4.1))
 17 |     public static let simplifiedDemangled = BacktraceFormatter(.simplifiedDemangledDefault)
/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: annotate 'demangledDefault' 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
 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: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: annotate 'simplifiedDemangled' 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
 18 | #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 19 | }
/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: annotate 'simplifiedDemangledDefault' 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
 85 |     #endif // os(macOS) || (os(Linux) && swift(>=4.1))
 86 |
/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: annotate 'default' 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
 44 | #else
 45 |     public static let `default` = demangle.compose(cxxDemangle)
/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: annotate 'simplified' 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
 66 |         var symbol = symbol
 67 |         symbol.name = swiftSimplifiedDemangleName(symbol.name)
/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: annotate 'cxxDemangle' 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
 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: annotate 'demangle' 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
 57 |         var symbol = symbol
 58 |         symbol.name = swiftDemangleName(symbol.name)
/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: annotate 'defaultStyle' 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
 91 | #endif
 92 |
/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: annotate 'linuxStyleFormat' 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
102 |         let (module, name, offset, address) = symbol
103 |         func hex<T: FixedWidthInteger & UnsignedInteger>(_ int: T) -> String {
/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: annotate 'darwinStyleFormat' 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
 95 |         let (module, name, offset, address) = symbol
 96 |         let basename = URL(fileURLWithPath: module).lastPathComponent.ljust(35)
/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: annotate 'prefixNumber' 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
124 |         let countStringLength = max(String(lines.count).count + 1, 4)
125 |         return lines.enumerated().map { String($0.offset).ljust(countStringLength) + $0.element }
Build complete! (27.26s)
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.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
Done.