Build Information
Failed to build CLI, reference 2.3.1 (30b84c
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 14:15:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ponyboy47/CLI.git
Reference: 2.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ponyboy47/CLI
* tag 2.3.1 -> FETCH_HEAD
HEAD is now at 30b84cd Updated README for MultiOption
Cloned https://github.com/Ponyboy47/CLI.git
Revision (git rev-parse @):
30b84cd3b751789e8a53f1ca428731ae6ec4e011
SUCCESS checkout https://github.com/Ponyboy47/CLI.git at 2.3.1
Fetching https://github.com/Ponyboy47/Strings.git
[1/104] Fetching strings
Fetched https://github.com/Ponyboy47/Strings.git from cache (0.67s)
Computing version for https://github.com/Ponyboy47/Strings.git
Computed https://github.com/Ponyboy47/Strings.git at 2.2.1 (0.57s)
Creating working copy for https://github.com/Ponyboy47/Strings.git
Working copy of https://github.com/Ponyboy47/Strings.git resolved at 2.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cli",
"name": "CLI",
"url": "https://github.com/Ponyboy47/CLI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CLI",
"dependencies": [
{
"identity": "strings",
"name": "Strings",
"url": "https://github.com/Ponyboy47/Strings.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Strings",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Ponyboy47/CLI.git
[4/161] Fetching cli
Fetched https://github.com/Ponyboy47/CLI.git from cache (0.67s)
Fetching https://github.com/Ponyboy47/Strings.git from cache
Fetched https://github.com/Ponyboy47/Strings.git from cache (0.43s)
Computing version for https://github.com/Ponyboy47/Strings.git
Computed https://github.com/Ponyboy47/Strings.git at 2.2.1 (0.02s)
Creating working copy for https://github.com/Ponyboy47/CLI.git
Working copy of https://github.com/Ponyboy47/CLI.git resolved at 2.3.1 (30b84cd)
Creating working copy for https://github.com/Ponyboy47/Strings.git
Working copy of https://github.com/Ponyboy47/Strings.git resolved at 2.2.1
warning: '.resolve-product-dependencies': dependency 'cli' is not used by any target
Found 1 product dependencies
- Strings
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Ponyboy47/CLI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling Strings Substring.swift
[5/8] Compiling Strings Strings+Validation.swift
[6/8] Compiling Strings Strings+Subscript.swift
[7/8] Emitting module Strings
[8/8] Compiling Strings Strings.swift
[9/15] Compiling CLI ArgumentParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/ArgumentParser.swift:20:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | private var hasParsed = false
19 |
20 | public static var `default`: ArgumentParser = {
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
21 | return ArgumentParser()
22 | }()
[10/15] Compiling CLI ArgumentErrors.swift
[11/15] Compiling CLI ArgumentProtocols.swift
[12/15] Compiling CLI ArgumentTypes.swift
[13/15] Compiling CLI Option+Flag.swift
[14/15] Emitting module CLI
/Users/admin/builder/spi-builder-workspace/Sources/CLI/ArgumentParser.swift:20:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | private var hasParsed = false
19 |
20 | public static var `default`: ArgumentParser = {
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
21 | return ArgumentParser()
22 | }()
/Users/admin/builder/spi-builder-workspace/Sources/CLI/MultiOption.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 |
72 | public extension MultiOption where A: Equatable {
73 | public func index(of element: A) -> Int? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 | return values.index(of: element)
75 | }
[15/15] Compiling CLI MultiOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/MultiOption.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 |
72 | public extension MultiOption where A: Equatable {
73 | public func index(of element: A) -> Int? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 | return values.index(of: element)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/MultiOption.swift:52:16: error: 'subscript(_:)' is unavailable
50 |
51 | public subscript(bounds: Range<Int>) -> Slice<[A]> {
52 | return values[bounds]
| `- error: 'subscript(_:)' is unavailable
53 | }
54 |
Swift.MutableCollection:6:23: note: 'subscript(_:)' has been explicitly marked unavailable here
4 | @inlinable public mutating func withContiguousMutableStorageIfAvailable<R>(_ body: (inout UnsafeMutableBufferPointer<Self.Element>) throws -> R) rethrows -> R?
5 | @available(*, unavailable)
6 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }
| `- note: 'subscript(_:)' has been explicitly marked unavailable here
7 | @available(*, unavailable)
8 | public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
BUILD FAILURE 6.0 macosSpm