Build Information
Failed to build Hylo, reference main (f1b2d5
), with Swift 6.0 (beta) for Linux on 18 Sep 2024 20:22:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.54.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hylo-lang/hylo.git
Reference: main
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/hylo-lang/hylo
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f1b2d58 Work around https://github.com/SwiftyLab/setup-swift/issues/315 (#1595)
Submodule path 'SPMBuildToolSupport': checked out '7c0a5c10ccacf066163c36e2cfcba65c7a21e956'
Submodule 'SPMBuildToolSupport' (https://github.com/dabrahams/SPMBuildToolSupport.git) registered for path 'SPMBuildToolSupport'
Cloning into '/host/spi-builder-workspace/SPMBuildToolSupport'...
Cloned https://github.com/hylo-lang/hylo.git
Revision (git rev-parse @):
f1b2d586f47016db9154a9492a720c080e0e2140
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hylo-lang/hylo.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/hylo-lang/hylo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/hylo-lang/Swifty-LLVM
[1/2988] Fetching swifty-llvm
Fetched https://github.com/hylo-lang/Swifty-LLVM from cache (0.25s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/SwiftPackageIndex/SPIManifest.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/hylo-lang/Durian.git
Fetching https://github.com/apple/swift-syntax.git
[1/141] Fetching durian
[142/914] Fetching durian, spimanifest
Fetched https://github.com/hylo-lang/Durian.git from cache (0.26s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/SwiftPackageIndex/SPIManifest.git from cache (0.28s)
Fetching https://github.com/apple/swift-format
[1/3638] Fetching swift-system
[802/9137] Fetching swift-system, swift-algorithms
[9138/15597] Fetching swift-system, swift-algorithms, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
[9375/11959] Fetching swift-algorithms, swift-tools-support-core
Fetching https://github.com/apple/swift-argument-parser.git
[11960/21755] Fetching swift-algorithms, swift-tools-support-core, yams
[12646/31361] Fetching swift-algorithms, swift-tools-support-core, yams, swift-format
[28032/43547] Fetching swift-algorithms, swift-tools-support-core, yams, swift-format, swift-argument-parser
[28862/108734] Fetching swift-algorithms, swift-tools-support-core, yams, swift-format, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-format from cache (0.70s)
[32576/99128] Fetching swift-algorithms, swift-tools-support-core, yams, swift-argument-parser, swift-syntax
Fetching https://github.com/apple/swift-numerics.git
[43721/104704] Fetching swift-algorithms, swift-tools-support-core, yams, swift-argument-parser, swift-syntax, swift-numerics
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.90s)
[37744/92518] Fetching swift-algorithms, swift-tools-support-core, yams, swift-syntax, swift-numerics
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/jpsim/Yams.git from cache (1.26s)
Fetching https://github.com/attaswift/BigInt.git
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
[31516/77146] Fetching swift-algorithms, swift-tools-support-core, swift-syntax
[36080/81852] Fetching swift-algorithms, swift-tools-support-core, swift-syntax, bigint
[46067/96893] Fetching swift-algorithms, swift-tools-support-core, swift-syntax, bigint, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (0.46s)
[65062/92187] Fetching swift-algorithms, swift-tools-support-core, swift-syntax, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.31s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.80s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (4.80s)
Computing version for https://github.com/SwiftPackageIndex/SPIManifest.git
Fetched https://github.com/apple/swift-syntax.git from cache (4.84s)
Computed https://github.com/SwiftPackageIndex/SPIManifest.git at 0.19.0 (0.53s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 508.0.1 (0.68s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.51s)
Computing version for https://github.com/hylo-lang/Durian.git
Computed https://github.com/hylo-lang/Durian.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.78s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.54s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.5.2 (0.69s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (2.63s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.56s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.5.2
Creating working copy for https://github.com/hylo-lang/Durian.git
Working copy of https://github.com/hylo-lang/Durian.git resolved at 1.2.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/hylo-lang/Swifty-LLVM
Working copy of https://github.com/hylo-lang/Swifty-LLVM resolved at main (6454786)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 508.0.1
Creating working copy for https://github.com/SwiftPackageIndex/SPIManifest.git
Working copy of https://github.com/SwiftPackageIndex/SPIManifest.git resolved at 0.19.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.2
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
warning: couldn't find pc file for llvm
Building for debugging...
[0/24] Write sources
[10/24] Compiling _NumericsShims _NumericsShims.c
[11/24] Write swift-version-24593BA9C3E375BF.txt
[13/120] Emitting module OrderedCollections
[14/126] Compiling OrderedCollections _HashTable+Bucket.swift
[15/126] Compiling OrderedCollections _HashTable+BucketIterator.swift
[16/126] Compiling OrderedCollections _HashTable+Constants.swift
[17/126] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[18/126] Compiling OrderedCollections _HashTable+Testing.swift
[19/126] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[20/126] Compiling OrderedCollections _HashTable.swift
[21/126] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[22/126] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[23/128] Emitting module DequeModule
[30/128] Emitting module ArgumentParserToolInfo
[31/128] Compiling ArgumentParserToolInfo ToolInfo.swift
[32/128] Compiling DequeModule _UnsafeWrappedBuffer.swift
[33/128] Compiling BigInt String Conversion.swift
[34/131] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[35/131] Compiling OrderedCollections OrderedDictionary+Elements.swift
[36/131] Compiling RealModule Float16+Real.swift
[37/131] Compiling RealModule Float+Real.swift
[38/132] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[39/132] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[40/132] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[41/132] Compiling RealModule Real.swift
[43/132] Compiling OrderedCollections _Hashtable+Header.swift
[44/132] Compiling OrderedCollections OrderedDictionary+Codable.swift
[46/132] Compiling RealModule ElementaryFunctions.swift
[47/132] Compiling RealModule Float80+Real.swift
[48/132] Emitting module RealModule
[58/132] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[63/132] Compiling DequeModule _DequeSlot.swift
[69/132] Compiling BigInt Subtraction.swift
[70/132] Compiling BigInt Words and Bits.swift
[71/132] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[72/132] Compiling OrderedCollections OrderedSet+Diffing.swift
[73/132] Compiling OrderedCollections OrderedSet+Equatable.swift
[74/132] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[85/132] Compiling OrderedCollections OrderedSet+Hashable.swift
[86/132] Compiling OrderedCollections OrderedSet+Initializers.swift
[87/132] Compiling OrderedCollections OrderedSet+Insertions.swift
[88/132] Compiling OrderedCollections OrderedSet+Invariants.swift
[89/132] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[90/132] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[91/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[92/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[93/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[94/132] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[95/132] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[96/132] Compiling OrderedCollections OrderedSet+SubSequence.swift
[97/132] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[98/132] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[99/132] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[100/132] Compiling OrderedCollections OrderedDictionary+Values.swift
[101/132] Compiling OrderedCollections OrderedDictionary.swift
[102/132] Compiling OrderedCollections OrderedSet+Codable.swift
[103/132] Compiling RealModule RealFunctions.swift
[103/133] Wrapping AST for ArgumentParserToolInfo for debugging
[105/170] Wrapping AST for RealModule for debugging
[107/170] Compiling ArgumentParser ArgumentSet.swift
[108/170] Compiling ArgumentParser CommandParser.swift
[109/196] Wrapping AST for DequeModule for debugging
[111/196] Compiling Algorithms Rotate.swift
[112/196] Compiling Algorithms Split.swift
[113/196] Compiling OrderedCollections OrderedSet+Testing.swift
[114/196] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[115/196] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[116/196] Compiling OrderedCollections OrderedSet.swift
[117/196] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[118/196] Compiling OrderedCollections _UnsafeBitset.swift
[119/197] Wrapping AST for OrderedCollections for debugging
[121/199] Emitting module Collections
[122/199] Compiling Collections Collections.swift
[124/200] Compiling Algorithms AdjacentPairs.swift
[125/200] Compiling Algorithms Chain.swift
[126/200] Compiling Algorithms Chunked.swift
[127/200] Compiling Algorithms Combinations.swift
[128/200] Compiling Algorithms Compacted.swift
[128/205] Wrapping AST for Collections for debugging
[130/205] Emitting module ArgumentParser
[132/205] Compiling Algorithms Stride.swift
[133/205] Compiling Algorithms Suffix.swift
[134/208] Compiling Algorithms RandomSample.swift
[135/208] Compiling Algorithms Reductions.swift
[137/208] Compiling Algorithms Windows.swift
[138/208] Compiling ArgumentParser Parsed.swift
[139/208] Compiling ArgumentParser ParsedValues.swift
[140/208] Compiling ArgumentParser ParserError.swift
[141/208] Compiling ArgumentParser SplitArguments.swift
[142/208] Compiling ArgumentParser CollectionExtensions.swift
[143/208] Compiling ArgumentParser Platform.swift
[144/208] Compiling ArgumentParser SequenceExtensions.swift
[145/208] Compiling ArgumentParser StringExtensions.swift
[146/208] Compiling ArgumentParser Tree.swift
[147/208] Compiling Algorithms Joined.swift
[148/208] Compiling Algorithms Keyed.swift
[149/208] Compiling Algorithms MinMax.swift
[150/208] Compiling Algorithms EitherSequence.swift
[151/208] Compiling Algorithms FirstNonNil.swift
[152/208] Compiling Algorithms FlattenCollection.swift
[153/208] Compiling Algorithms Partition.swift
[154/208] Compiling Algorithms Permutations.swift
[155/208] Compiling Algorithms Product.swift
[156/208] Emitting module BigInt
[159/208] Compiling Algorithms Cycle.swift
[161/209] Compiling Algorithms Trim.swift
[162/209] Compiling Algorithms Unique.swift
[169/209] Compiling Algorithms Grouped.swift
[170/209] Compiling Algorithms Indexed.swift
[171/209] Compiling Algorithms Intersperse.swift
[171/209] Wrapping AST for BigInt for debugging
[178/209] Compiling ArgumentParser DumpHelpGenerator.swift
[179/209] Compiling ArgumentParser HelpCommand.swift
[180/209] Compiling ArgumentParser HelpGenerator.swift
[181/209] Compiling ArgumentParser MessageInfo.swift
[182/209] Compiling ArgumentParser UsageGenerator.swift
[199/210] Wrapping AST for ArgumentParser for debugging
[205/210] Emitting module Algorithms
[206/211] Wrapping AST for Algorithms for debugging
[208/246] Compiling Utils Platform.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
/host/spi-builder-workspace/Sources/Utils/Platform.swift:48:23: error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// An architecture on which the the compiler/interpreter/target program can run.
21 | public enum Architecture: String, Codable, CustomStringConvertible {
| `- note: consider making enum 'Architecture' conform to the 'Sendable' protocol
22 |
23 | case i386, x86_64, arm, arm64
:
46 | #elseif arch(x86_64)
47 | /// The host architecture.
48 | public static let hostArchitecture: Architecture = .x86_64
| |- error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostArchitecture' 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
49 | #elseif arch(arm)
50 | /// The host architecture.
[209/246] Compiling Utils Sequence+Extensions.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
/host/spi-builder-workspace/Sources/Utils/Platform.swift:48:23: error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// An architecture on which the the compiler/interpreter/target program can run.
21 | public enum Architecture: String, Codable, CustomStringConvertible {
| `- note: consider making enum 'Architecture' conform to the 'Sendable' protocol
22 |
23 | case i386, x86_64, arm, arm64
:
46 | #elseif arch(x86_64)
47 | /// The host architecture.
48 | public static let hostArchitecture: Architecture = .x86_64
| |- error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostArchitecture' 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
49 | #elseif arch(arm)
50 | /// The host architecture.
[210/246] Compiling Utils Set+Extensions.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
/host/spi-builder-workspace/Sources/Utils/Platform.swift:48:23: error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// An architecture on which the the compiler/interpreter/target program can run.
21 | public enum Architecture: String, Codable, CustomStringConvertible {
| `- note: consider making enum 'Architecture' conform to the 'Sendable' protocol
22 |
23 | case i386, x86_64, arm, arm64
:
46 | #elseif arch(x86_64)
47 | /// The host architecture.
48 | public static let hostArchitecture: Architecture = .x86_64
| |- error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostArchitecture' 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
49 | #elseif arch(arm)
50 | /// The host architecture.
[211/246] Compiling Utils SharedMutable.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
/host/spi-builder-workspace/Sources/Utils/Platform.swift:48:23: error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// An architecture on which the the compiler/interpreter/target program can run.
21 | public enum Architecture: String, Codable, CustomStringConvertible {
| `- note: consider making enum 'Architecture' conform to the 'Sendable' protocol
22 |
23 | case i386, x86_64, arm, arm64
:
46 | #elseif arch(x86_64)
47 | /// The host architecture.
48 | public static let hostArchitecture: Architecture = .x86_64
| |- error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostArchitecture' 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
49 | #elseif arch(arm)
50 | /// The host architecture.
[212/246] Compiling Utils StatefulCoder.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
/host/spi-builder-workspace/Sources/Utils/Platform.swift:48:23: error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// An architecture on which the the compiler/interpreter/target program can run.
21 | public enum Architecture: String, Codable, CustomStringConvertible {
| `- note: consider making enum 'Architecture' conform to the 'Sendable' protocol
22 |
23 | case i386, x86_64, arm, arm64
:
46 | #elseif arch(x86_64)
47 | /// The host architecture.
48 | public static let hostArchitecture: Architecture = .x86_64
| |- error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostArchitecture' 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
49 | #elseif arch(arm)
50 | /// The host architecture.
[213/246] Compiling Utils FileManager+Extensions.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
[214/246] Compiling Utils FullPathInFatalErrors.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
[215/246] Compiling Utils HashableBox.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
[216/246] Compiling Utils HashableWitness.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
[217/246] Compiling Utils Host.swift
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
[218/250] Compiling Utils Math.swift
[219/250] Compiling Utils Memo.swift
[220/250] Compiling Utils Operators.swift
[221/250] Compiling Utils Optional+Extensions.swift
[222/250] Compiling Utils Ordering.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[223/250] Emitting module Utils
/host/spi-builder-workspace/Sources/Utils/Platform.swift:37:23: error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An operating system on which the compiler/interpreter/target program can run.
5 | public enum OperatingSystem: Codable, CustomStringConvertible {
| `- note: consider making enum 'OperatingSystem' conform to the 'Sendable' protocol
6 |
7 | case macOS, linux, windows
:
35 | #elseif os(Linux)
36 | /// The host operating system.
37 | public static let hostOperatingSystem: OperatingSystem = .linux
| |- error: static property 'hostOperatingSystem' is not concurrency-safe because non-'Sendable' type 'Platform.OperatingSystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostOperatingSystem' 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
38 | #elseif os(Windows)
39 | /// The host operating system.
/host/spi-builder-workspace/Sources/Utils/Platform.swift:48:23: error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// An architecture on which the the compiler/interpreter/target program can run.
21 | public enum Architecture: String, Codable, CustomStringConvertible {
| `- note: consider making enum 'Architecture' conform to the 'Sendable' protocol
22 |
23 | case i386, x86_64, arm, arm64
:
46 | #elseif arch(x86_64)
47 | /// The host architecture.
48 | public static let hostArchitecture: Architecture = .x86_64
| |- error: static property 'hostArchitecture' is not concurrency-safe because non-'Sendable' type 'Platform.Architecture' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hostArchitecture' 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
49 | #elseif arch(arm)
50 | /// The host architecture.
[224/250] Compiling Utils Incidental.swift
[225/250] Compiling Utils Indirect.swift
[226/250] Compiling Utils Int+Extensions.swift
[227/250] Compiling Utils Lazy.swift
[228/250] Compiling Utils MVS.swift
[229/250] Compiling Utils String+Extensions.swift
[230/250] Compiling Utils StronglyConnectedComponents.swift
[231/250] Compiling Utils TestOutputStream.swift
[232/250] Compiling Utils ThreeValuedBit.swift
[233/250] Compiling Utils BitArray.swift
[234/250] Compiling Utils ChunkSequence.swift
[235/250] Compiling Utils Collection+Extensions.swift
[236/250] Compiling Utils CustomWitnessedSet.swift
[237/250] Compiling Utils Dictionary+Extensions.swift
[238/250] Compiling Utils DirectedGraph.swift
[239/250] Compiling Utils DistinctNameGenerator.swift
[240/250] Compiling Utils DoublyLinkedList.swift
[241/250] Compiling Utils EquatableWitness.swift
[242/250] Compiling Utils FactoryInitializable.swift
[243/250] Compiling Utils Trie.swift
[244/250] Compiling Utils URL+Extensions.swift
[245/250] Compiling Utils Unreachable.swift
[246/250] Compiling Utils WideUInt.swift
BUILD FAILURE 6.0 linux