The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build CSErrors, reference 1.2.9 (a29b22), with Swift 5.9 for macOS (SPM) on 4 Sep 2024 07:20:27 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlesJS/CSErrors.git
Reference: 1.2.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CharlesJS/CSErrors
 * tag               1.2.9      -> FETCH_HEAD
HEAD is now at a29b22f Fix compile errors on compilers earlier than 6.0
Cloned https://github.com/CharlesJS/CSErrors.git
Revision (git rev-parse @):
a29b22f124d059030f6e65caacf3e02a67ca6dfb
SUCCESS checkout https://github.com/CharlesJS/CSErrors.git at 1.2.9
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/CharlesJS/CSErrors.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/9] Compiling CSErrors POSIX Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
[2/9] Compiling CSErrors HTTPError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
[3/9] Compiling CSErrors Stderr.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Compiling CSErrors Error+CSErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
[5/9] Compiling CSErrors ErrorMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
[6/9] Emitting module CSErrors
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: cannot find 'nonisolated' in scope
nonisolated(unsafe) private var emulatedVersion = Int.max
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:13: error: cannot find 'unsafe' in scope
nonisolated(unsafe) private var emulatedVersion = Int.max
            ^~~~~~
[7/9] Compiling CSErrors Internal.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: cannot find 'nonisolated' in scope
nonisolated(unsafe) private var emulatedVersion = Int.max
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:13: error: cannot find 'unsafe' in scope
nonisolated(unsafe) private var emulatedVersion = Int.max
            ^~~~~~
[8/9] Compiling CSErrors CSErrorProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
[9/9] Compiling CSErrors OSStatus Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var emulatedVersion = Int.max
^
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors/Internal.swift:17:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var emulatedVersion = Int.max
                   ^
                   ;
error: fatalError
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
[293/1712] Fetching cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (1.50s)
Fetched https://github.com/mattgallagher/CwlCatchException.git (1.50s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (2.85s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.58s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
BUILD FAILURE 5.9 macosSpm